Package com.prineside.tdi2.abilities
Class BallLightningAbility
java.lang.Object
com.prineside.tdi2.Registrable
com.prineside.tdi2.Ability
com.prineside.tdi2.abilities.BallLightningAbility
- All Implemented Interfaces:
KryoSerializable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.prineside.tdi2.Ability
Ability.Factory<T extends Ability> -
Field Summary
FieldsModifier and TypeFieldDescriptionfloatfloatstatic final floatfloatFields inherited from class com.prineside.tdi2.Registrable
S -
Method Summary
Methods inherited from class com.prineside.tdi2.Ability
getKilledEnemiesCoinMultiplier, onDone, startEffectsMethods inherited from class com.prineside.tdi2.Registrable
isRegistered, setRegistered, setUnregistered
-
Field Details
-
DEFAULT_ATTACK_INTERVAL
public static final float DEFAULT_ATTACK_INTERVAL- See Also:
-
duration
public float duration -
damage
public float damage -
launchedByTower
-
attackInterval
public float attackInterval
-
-
Method Details
-
write
- Specified by:
writein interfaceKryoSerializable- Overrides:
writein classAbility
-
read
- Specified by:
readin interfaceKryoSerializable- Overrides:
readin classAbility
-
configure
public void configure(int x, int y, double mdps) -
start
public boolean start() -
update
public void update(float deltaTime) -
isDone
public boolean isDone() -
draw
-
drawBatchAdditive
- Overrides:
drawBatchAdditivein classAbility
-