Package com.prineside.tdi2
Class ScheduledUpdater
java.lang.Object
com.prineside.tdi2.ScheduledUpdater
- All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable
public final class ScheduledUpdater
extends Object
implements com.esotericsoftware.kryo.KryoSerializable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(ScheduledUpdater.Updatable updatable, float updateInterval) voidclear()com.badlogic.gdx.utils.DelayedRemovalArray<ScheduledUpdater.UpdatableConfiguration>floatgetTime()voidprocess(float deltaTime) voidread(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) booleanremove(ScheduledUpdater.Updatable updatable) voidwrite(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output)
-
Field Details
-
UNSCHEDULED_ID
public static final int UNSCHEDULED_ID- See Also:
-
-
Constructor Details
-
ScheduledUpdater
public ScheduledUpdater()
-
-
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
-
getConfigurations
public com.badlogic.gdx.utils.DelayedRemovalArray<ScheduledUpdater.UpdatableConfiguration> getConfigurations() -
getTime
public float getTime() -
process
public void process(float deltaTime) -
add
-
remove
-
clear
public void clear()
-