@Override public void destroy() { if (armor > 0) { armor--; } else { super.destroy(); } // super.destroy(); }
public String enemyTankPosition() { int x = enemyTank.getX() / 64; int y = enemyTank.getY() / 64; return x + "_" + y; }