Package com.prineside.tdi2
Class EnemyGroup.SpawnEnemyGroup
java.lang.Object
com.prineside.tdi2.EnemyGroup
com.prineside.tdi2.EnemyGroup.SpawnEnemyGroup
- All Implemented Interfaces:
com.esotericsoftware.kryo.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
Modifier and TypeMethodDescriptionvoidaddSpawnedCount(int cnt) voidread(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) voidwrite(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output) Methods inherited from class com.prineside.tdi2.EnemyGroup
cpy, createSpawnPortion, fromJson, getSpawnCountByTime, getSpawnedCount, 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
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output) - Specified by:
writein interfacecom.esotericsoftware.kryo.KryoSerializable- Overrides:
writein classEnemyGroup
-
read
public void read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) - Specified by:
readin interfacecom.esotericsoftware.kryo.KryoSerializable- Overrides:
readin classEnemyGroup
-
addSpawnedCount
public void addSpawnedCount(int cnt)
-