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 TypeMethodDescriptionvoid
addSpawnedCount
(int cnt) void
read
(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) void
write
(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:
write
in interfacecom.esotericsoftware.kryo.KryoSerializable
- Overrides:
write
in classEnemyGroup
-
read
public void read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) - Specified by:
read
in interfacecom.esotericsoftware.kryo.KryoSerializable
- Overrides:
read
in classEnemyGroup
-
addSpawnedCount
public void addSpawnedCount(int cnt)
-