Beispiel #1
0
 public void copyFromTower(Tower t) {
   setAnimationPreAttack(t.getAnimationPreAttack());
   setAnimationPreAttackDuration(t.getAnimationPreAttackDuration());
   setAnimationPostAttack(t.getAnimationPostAttack());
   setAnimationPostAttackDuration(t.getAnimationPostAttackDuration());
   setAnimationStand(t.getAnimationStand());
   setAnimationStandDuration(t.getAnimationStandDuration());
   setAttackSpeed(t.getAttackSpeed());
   setDamage(t.getDamage());
   setProjectileAnimationDeath(t.getProjectileAnimationDeath());
   setProjectileAnimationStand(t.getProjectileAnimationStand());
   setProjectileAnimationDeathDuration(t.getProjectileAnimationDeathDuration());
   setProjectileAnimationStandDuration(t.getProjectileAnimationStandDuration());
   setProjectileSpeed(t.getProjectileSpeed());
   setRange(t.getRange());
   setShootingAir(t.isShootingAir());
   setShootingGround(t.isShootingGround());
 }