Package com.prineside.tdi2
Class ModifierProcessor<T extends Modifier>
java.lang.Object
com.prineside.tdi2.Registrable
com.prineside.tdi2.ModifierProcessor<T>
- All Implemented Interfaces:
 KryoSerializable,ScheduledUpdater.Updatable
- Direct Known Subclasses:
 BountyModifierProcessor
public abstract class ModifierProcessor<T extends Modifier>
extends Registrable
implements ScheduledUpdater.Updatable
- 
Field Summary
Fields inherited from class com.prineside.tdi2.Registrable
S - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionfloatПолучить минимальное время между вызовами update()voidintfinal voidscheduledUpdatableSetId(int id) voidscheduledUpdate(float deltaTime) voidMethods inherited from class com.prineside.tdi2.Registrable
isRegistered, setRegistered, setUnregistered 
- 
Constructor Details
- 
ModifierProcessor
public ModifierProcessor() 
 - 
 - 
Method Details
- 
write
- Specified by:
 writein interfaceKryoSerializable- Overrides:
 writein classRegistrable
 - 
read
- Specified by:
 readin interfaceKryoSerializable- Overrides:
 readin classRegistrable
 - 
getUpdateInterval
public float getUpdateInterval()Получить минимальное время между вызовами update()- Returns:
 - интервал в секундах
 
 - 
scheduledUpdate
public void scheduledUpdate(float deltaTime) - Specified by:
 scheduledUpdatein interfaceScheduledUpdater.Updatable
 - 
scheduledUpdatableSetId
public final void scheduledUpdatableSetId(int id) - Specified by:
 scheduledUpdatableSetIdin interfaceScheduledUpdater.Updatable
 - 
scheduledUpdatableGetId
public int scheduledUpdatableGetId()- Specified by:
 scheduledUpdatableGetIdin interfaceScheduledUpdater.Updatable
 
 -