Package com.prineside.tdi2
Class EnemyGroup.SpawnEnemyGroup
java.lang.Object
com.prineside.tdi2.EnemyGroup
com.prineside.tdi2.EnemyGroup.SpawnEnemyGroup
- All Implemented Interfaces:
KryoSerializable
- Enclosing class:
- EnemyGroup
-
Nested Class Summary
Nested classes/interfaces inherited from class com.prineside.tdi2.EnemyGroup
EnemyGroup.SpawnEnemyGroup
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSpawnEnemyGroup
(EnemyGroup waveGroup, EnemyType type, float speed, float health, int count, float delay, float interval, float bounty, float killExp, int killScore) -
Method Summary
Methods inherited from class com.prineside.tdi2.EnemyGroup
cpy, createSpawnPortion, fromJson, getEnemyType, getSpawnCountByTime, getSpawnedCount, setEnemyType, toJson, toString
-
Field Details
-
waveGroup
-
-
Constructor Details
-
SpawnEnemyGroup
public SpawnEnemyGroup() -
SpawnEnemyGroup
public SpawnEnemyGroup(EnemyGroup waveGroup, EnemyType type, float speed, float health, int count, float delay, float interval, float bounty, float killExp, int killScore)
-
-
Method Details
-
write
- Specified by:
write
in interfaceKryoSerializable
- Overrides:
write
in classEnemyGroup
-
read
- Specified by:
read
in interfaceKryoSerializable
- Overrides:
read
in classEnemyGroup
-
addSpawnedCount
public void addSpawnedCount(int cnt)
-