Package com.prineside.tdi2.units
Class SnowballUnit
java.lang.Object
com.prineside.tdi2.Registrable
com.prineside.tdi2.Unit
com.prineside.tdi2.units.SnowballUnit
- All Implemented Interfaces:
KryoSerializable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.prineside.tdi2.Unit
Unit.Factory<T extends Unit> -
Field Summary
Fields inherited from class com.prineside.tdi2.Unit
angle, drawAngle, drawOverEnemies, drawPosition, graphPath, id, passedTiles, position, sideShiftIndex, spawned, speed, startingTile, staticPosition, targetTile, typeFields inherited from class com.prineside.tdi2.Registrable
S -
Method Summary
Methods inherited from class com.prineside.tdi2.Unit
applyDrawInterpolation, getPassedTilesDelta, getSize, onDespawnedMethods inherited from class com.prineside.tdi2.Registrable
isRegistered, setRegistered
-
Method Details
-
write
- Specified by:
writein interfaceKryoSerializable- Overrides:
writein classUnit
-
read
- Specified by:
readin interfaceKryoSerializable- Overrides:
readin classUnit
-
setup
-
onSpawned
public void onSpawned() -
setUnregistered
public void setUnregistered()- Overrides:
setUnregisteredin classRegistrable
-
drawBatch
-
update
public void update(float deltaTime)
-