Class DeathExplosionBuffProcessor
java.lang.Object
com.prineside.tdi2.Registrable
com.prineside.tdi2.BuffProcessor<DeathExplosionBuff>
com.prineside.tdi2.buffs.processors.DeathExplosionBuffProcessor
- All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable,ScheduledUpdater.Updatable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.prineside.tdi2.BuffProcessor
BuffProcessor.BuffProcessorListener -
Field Summary
Fields inherited from class com.prineside.tdi2.BuffProcessor
listenersFields inherited from class com.prineside.tdi2.Registrable
S -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddBuff(Enemy enemy, DeathExplosionBuff buff) floatПолучить минимальное время между вызовами update()voidread(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) voidsetRegistered(GameSystemProvider systemProvider) voidvoidwrite(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output) Methods inherited from class com.prineside.tdi2.BuffProcessor
removeAllBuffs, removeBuff, removeBuff, scheduledUpdatableGetId, scheduledUpdatableSetId, scheduledUpdateMethods inherited from class com.prineside.tdi2.Registrable
isRegistered
-
Constructor Details
-
DeathExplosionBuffProcessor
public DeathExplosionBuffProcessor()
-
-
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 classBuffProcessor<DeathExplosionBuff>
-
read
public void read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) - Specified by:
readin interfacecom.esotericsoftware.kryo.KryoSerializable- Overrides:
readin classBuffProcessor<DeathExplosionBuff>
-
setRegistered
- Overrides:
setRegisteredin classRegistrable
-
setUnregistered
public void setUnregistered()- Overrides:
setUnregisteredin classRegistrable
-
addBuff
- Overrides:
addBuffin classBuffProcessor<DeathExplosionBuff>- Returns:
- true, если добавлено САМ ОСВОБОЖДАЕТ БАФФ В ПУЛ, ЕСЛИ FALSE
-
getBuffCountStatistic
- Overrides:
getBuffCountStatisticin classBuffProcessor<DeathExplosionBuff>
-
getUpdateInterval
public float getUpdateInterval()Description copied from class:BuffProcessorПолучить минимальное время между вызовами update()- Overrides:
getUpdateIntervalin classBuffProcessor<DeathExplosionBuff>- Returns:
- интервал в секундах
-