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 interface
static class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(ScheduledUpdater.Updatable updatable, float updateInterval) void
clear()
com.badlogic.gdx.utils.DelayedRemovalArray<ScheduledUpdater.UpdatableConfiguration>
float
getTime()
void
process
(float deltaTime) void
read
(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) boolean
remove
(ScheduledUpdater.Updatable updatable) void
write
(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:
write
in interfacecom.esotericsoftware.kryo.KryoSerializable
-
read
public void read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) - Specified by:
read
in 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()
-