Class CannonExplosion

All Implemented Interfaces:
Pool.Poolable, KryoSerializable

public final class CannonExplosion extends Explosion
  • Method Details

    • write

      public void write(Kryo kryo, Output output)
      Specified by:
      write in interface KryoSerializable
      Overrides:
      write in class Explosion
    • read

      public void read(Kryo kryo, Input input)
      Specified by:
      read in interface KryoSerializable
      Overrides:
      read in class Explosion
    • setup

      public void setup(Tower tower, float x, float y, float damage, float rangeInTiles, int splintersCount, float splintersDamageMultiplier, float splintersFlyDistance)
    • explode

      public void explode()
      Overrides:
      explode in class Explosion
    • enemyAffected

      public void enemyAffected(Enemy enemy, float distanceToEpicenter, float rayPower)
    • isDone

      public boolean isDone()
      Overrides:
      isDone in class Explosion
    • update

      public void update(float delta)
      Description copied from class: Explosion
      Взрыв идет из эпицентра, здесь он постепенно растет
      Overrides:
      update in class Explosion