Ejemplo n.º 1
0
  public void setDestroyed(boolean destroyed) {
    super.setDestroyed(destroyed);

    if (this.isDestroyed()) {
      this.viewPositionEventHandler.removeListener(this);
    }
  }
Ejemplo n.º 2
0
 public int getDamage(int damageType) {
   super.getDamage(damageType);
   return this.getInitDamage();
 }