Class DeathExplosionBuff

java.lang.Object
com.prineside.tdi2.Buff
com.prineside.tdi2.buffs.DeathExplosionBuff
All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable

public final class DeathExplosionBuff extends Buff
  • Field Details

  • Constructor Details

    • DeathExplosionBuff

      public DeathExplosionBuff()
  • 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 Buff
    • 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 Buff
    • cpy

      public DeathExplosionBuff cpy(float durationMultiplier)
      Description copied from class: Buff
      Переопределяется каждым бафом duration * durationMultiplier не должен превышать maxDuration
      Overrides:
      cpy in class Buff
    • setup

      @Deprecated public void setup(float duration, float maxDuration)
      Deprecated.
      Overrides:
      setup in class Buff
    • setup

      public DeathExplosionBuff setup(float duration, float maxDuration, Explosion explosion)
      Parameters:
      explosion - should not be freed to the pool manually - it is already handled