Class SnakeBossWaveProcessor
java.lang.Object
com.prineside.tdi2.waves.processors.SnakeBossWaveProcessor
- All Implemented Interfaces:
 com.esotericsoftware.kryo.KryoSerializable,Listener<EnemySpawn>,WaveProcessor
public class SnakeBossWaveProcessor
extends Object
implements WaveProcessor, com.esotericsoftware.kryo.KryoSerializable, Listener<EnemySpawn>
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic final classstatic classNested classes/interfaces inherited from interface com.prineside.tdi2.WaveProcessor
WaveProcessor.WaveProcessorFactory<T extends WaveProcessor> - 
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(com.badlogic.gdx.graphics.g2d.Batch batch, float deltaTime) com.badlogic.gdx.utils.Array<EnemyGroup>generateEnemyGroups(int waveNumber, int difficulty) voidhandleEvent(EnemySpawn event) booleanisDone()voidread(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) setup(GameSystemProvider S, int waveNumber, int difficulty) Создает волну, в которой является процессором.voidupdate(float deltaTime) Вызывается, если сейчас идет волна с этим процессором в WaveSystem.update()voidwrite(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.prineside.tdi2.WaveProcessor
getNextWaveDelayMultiplier 
- 
Method Details
- 
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output) - Specified by:
 writein interfacecom.esotericsoftware.kryo.KryoSerializable
 - 
read
public void read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) - Specified by:
 readin interfacecom.esotericsoftware.kryo.KryoSerializable
 - 
generateEnemyGroups
- Specified by:
 generateEnemyGroupsin interfaceWaveProcessor
 - 
setup
Description copied from interface:WaveProcessorСоздает волну, в которой является процессором. Здесь можно начать слушать события систем.- Specified by:
 setupin interfaceWaveProcessor
 - 
draw
public void draw(com.badlogic.gdx.graphics.g2d.Batch batch, float deltaTime) - Specified by:
 drawin interfaceWaveProcessor
 - 
update
public void update(float deltaTime) Description copied from interface:WaveProcessorВызывается, если сейчас идет волна с этим процессором в WaveSystem.update()- Specified by:
 updatein interfaceWaveProcessor
 - 
isDone
public boolean isDone()- Specified by:
 isDonein interfaceWaveProcessor- Returns:
 - true, когда работа закончена и не требуется вызывать update()
 
 - 
handleEvent
- Specified by:
 handleEventin interfaceListener<EnemySpawn>
 
 -