Beispiel #1
0
 public int getTreeY(int index) {
   return resources.toPixels(trees[index].y) + resources.gridSizeInPixels / 2;
 }
Beispiel #2
0
 public int getBaseY() {
   return resources.toPixels(base.y);
 }
Beispiel #3
0
 public int getEnemySpawnY(int index) {
   return resources.toPixels(enemies[index].y);
 }
Beispiel #4
0
 public int getBaseX() {
   return resources.toPixels(base.x);
 }
Beispiel #5
0
 public int getPlayerSpawnY() {
   return resources.toPixels(player.y);
 }