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