Class NoDamageBuffProcessor
java.lang.Object
com.prineside.tdi2.Registrable
com.prineside.tdi2.BuffProcessor<NoDamageBuff>
com.prineside.tdi2.buffs.processors.NoDamageBuffProcessor
- All Implemented Interfaces:
KryoSerializable,Listener<EnemyReachTarget>,ScheduledUpdater.Updatable
public final class NoDamageBuffProcessor
extends BuffProcessor<NoDamageBuff>
implements Listener<EnemyReachTarget>
-
Nested Class Summary
Nested 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, NoDamageBuff buff) voidhandleEvent(EnemyReachTarget event) booleanisDebuff()voidsetRegistered(GameSystemProvider systemProvider) voidMethods inherited from class com.prineside.tdi2.BuffProcessor
getBuffCountStatistic, getUpdateInterval, read, removeAllBuffs, removeBuff, removeBuff, scheduledUpdatableGetId, scheduledUpdatableSetId, scheduledUpdate, writeMethods inherited from class com.prineside.tdi2.Registrable
isRegistered
-
Constructor Details
-
NoDamageBuffProcessor
public NoDamageBuffProcessor()
-
-
Method Details
-
isDebuff
public boolean isDebuff()- Overrides:
isDebuffin classBuffProcessor<NoDamageBuff>
-
addBuff
- Overrides:
addBuffin classBuffProcessor<NoDamageBuff>- Returns:
- true, если добавлено САМ ОСВОБОЖДАЕТ БАФФ В ПУЛ, ЕСЛИ FALSE
-
setRegistered
- Overrides:
setRegisteredin classRegistrable
-
setUnregistered
public void setUnregistered()- Overrides:
setUnregisteredin classRegistrable
-
handleEvent
- Specified by:
handleEventin interfaceListener<EnemyReachTarget>
-