Skip to content
Snippets Groups Projects
Commit ba1b5cd3 authored by Drahomír Karchňák's avatar Drahomír Karchňák
Browse files

Merge branch 'feature-gamemenu' of gitlab.labs.nic.cz:mlatner/tablexia-libgdx into feature-gamemenu

parents 4510f7ed 5efa62b3
Branches
Tags
No related merge requests found
......@@ -169,20 +169,4 @@ public class ScaleUtil {
actor.setPosition(x, y);
return actor;
}
public static float getViewportPositionX(Stage stage) {
return 0;
}
public static float getViewportPositionY(Stage stage) {
return stage.getCamera().position.y - stage.getHeight() / 2;
}
public static float getViewportWidth() {
return Gdx.graphics.getWidth(); // TODO this is wrong
}
public static float getViewportHeight() {
return Gdx.graphics.getHeight();// TODO this is wrong
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment