コード例 #1
0
ファイル: Level.java プロジェクト: nagyistoce/battle-tank
 public int getTreeY(int index) {
   return resources.toPixels(trees[index].y) + resources.gridSizeInPixels / 2;
 }
コード例 #2
0
ファイル: Level.java プロジェクト: nagyistoce/battle-tank
 public int getBaseY() {
   return resources.toPixels(base.y);
 }
コード例 #3
0
ファイル: Level.java プロジェクト: nagyistoce/battle-tank
 public int getEnemySpawnY(int index) {
   return resources.toPixels(enemies[index].y);
 }
コード例 #4
0
ファイル: Level.java プロジェクト: nagyistoce/battle-tank
 public int getBaseX() {
   return resources.toPixels(base.x);
 }
コード例 #5
0
ファイル: Level.java プロジェクト: nagyistoce/battle-tank
 public int getPlayerSpawnY() {
   return resources.toPixels(player.y);
 }