Class FireballExplosion

java.lang.Object
com.prineside.tdi2.Registrable
com.prineside.tdi2.Explosion
com.prineside.tdi2.explosions.FireballExplosion
All Implemented Interfaces:
Pool.Poolable, KryoSerializable

public final class FireballExplosion 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
    • getDamage

      public float getDamage()
    • getFireDamage

      public float getFireDamage()
    • setup

      public void setup(float x, float y, float damage, float fireDamage, float rangeInTiles, FireballAbility ability)
    • explode

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

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