Package com.prineside.tdi2.abilities
Class NukeAbility
java.lang.Object
com.prineside.tdi2.Registrable
com.prineside.tdi2.Ability
com.prineside.tdi2.abilities.NukeAbility
- 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
FieldsFields inherited from class com.prineside.tdi2.Registrable
S -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(int x, int y, double mdps) voidbooleanisDone()booleanvoidvoidsetKilledEnemyNotAffectsBonusSystem(boolean killedEnemyNotAffectsBonusSystem) booleanstart()voidvoidupdate(float deltaTime) voidMethods inherited from class com.prineside.tdi2.Ability
drawBatchAdditive, getKilledEnemiesCoinMultiplier, onDoneMethods inherited from class com.prineside.tdi2.Registrable
isRegistered, setRegistered, setUnregistered
-
Field Details
-
damage
public float damage
-
-
Method Details
-
write
- Specified by:
writein interfaceKryoSerializable- Overrides:
writein classAbility
-
read
- Specified by:
readin interfaceKryoSerializable- Overrides:
readin classAbility
-
isKilledEnemyNotAffectsBonusSystem
public boolean isKilledEnemyNotAffectsBonusSystem() -
setKilledEnemyNotAffectsBonusSystem
public void setKilledEnemyNotAffectsBonusSystem(boolean killedEnemyNotAffectsBonusSystem) -
configure
public void configure(int x, int y, double mdps) -
start
public boolean start() -
startEffects
public void startEffects()- Overrides:
startEffectsin classAbility
-
update
public void update(float deltaTime) -
isDone
public boolean isDone() -
draw
-