예제 #1
0
  @Override
  public void destroy() {

    if (armor > 0) {
      armor--;
    } else {
      super.destroy();
    }

    // super.destroy();
  }
예제 #2
0
  public String enemyTankPosition() {
    int x = enemyTank.getX() / 64;
    int y = enemyTank.getY() / 64;

    return x + "_" + y;
  }