Package com.prineside.tdi2.buffs
Class PoisonBuff
java.lang.Object
com.prineside.tdi2.Buff
com.prineside.tdi2.buffs.PoisonBuff
- All Implemented Interfaces:
KryoSerializable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.prineside.tdi2.Buff
Buff.Factory<T extends Buff> -
Field Summary
FieldsModifier and TypeFieldDescriptionintfloatfloatFields inherited from class com.prineside.tdi2.Buff
duration, MAX_DURATION_MULTIPLIER, maxDuration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncpy(float durationMultiplier) Переопределяется каждым бафом duration * durationMultiplier не должен превышать maxDurationvoidvoidsetup(float duration, float maxDuration) Deprecated.voidsetup(Tower tower, float duration, float maxDuration, float hitDamage, float poisonDamage, Ability fromAbility) void
-
Field Details
-
tower
-
hitDamage
public float hitDamage -
poisonDamage
public float poisonDamage -
fastShellsStackCount
public int fastShellsStackCount -
fromAbility
-
-
Constructor Details
-
PoisonBuff
public PoisonBuff()
-
-
Method Details
-
write
- Specified by:
writein interfaceKryoSerializable- Overrides:
writein classBuff
-
read
- Specified by:
readin interfaceKryoSerializable- Overrides:
readin classBuff
-
cpy
Description copied from class:BuffПереопределяется каждым бафом duration * durationMultiplier не должен превышать maxDuration -
setup
Deprecated. -
getHealthBarIcon
- Specified by:
getHealthBarIconin classBuff
-
setup
-