Class CannonExplosion

All Implemented Interfaces:
com.badlogic.gdx.utils.Pool.Poolable, com.esotericsoftware.kryo.KryoSerializable

public final class CannonExplosion extends Explosion
  • Method Details

    • write

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

      public void read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input)
      Specified by:
      read in interface com.esotericsoftware.kryo.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)
      Overrides:
      enemyAffected in class Explosion
    • 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