Package dev.prozilla.pine.core.state
Class Timer.Interval
java.lang.Object
dev.prozilla.pine.core.state.Timer.TimedAction
dev.prozilla.pine.core.state.Timer.Interval
- All Implemented Interfaces:
Destructible
,Updatable
- Direct Known Subclasses:
Timer.RandomInterval
- Enclosing class:
Timer
-
Field Summary
Fields inherited from class dev.prozilla.pine.core.state.Timer.TimedAction
delay, elapsed_time, timer
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class dev.prozilla.pine.core.state.Timer.TimedAction
setApplyTimeScale
-
Constructor Details
-
Interval
-
-
Method Details
-
update
public void update(float deltaTime) Description copied from interface:Updatable
Updates this object every frame.- Specified by:
update
in interfaceUpdatable
- Overrides:
update
in classTimer.TimedAction
- Parameters:
deltaTime
- Delta time in seconds
-
execute
protected void execute()- Overrides:
execute
in classTimer.TimedAction
-
destroy
public void destroy()Description copied from interface:Destructible
Destroys this object.
-