public interface ILoop extends ILaunchable
| Modifier and Type | Method and Description |
|---|---|
void |
attach(IUpdateable updatable)
Attaches the update method of the specified IUpdatable instance to be called
every tick.
|
void |
detach(IUpdateable updatable)
Detaches the specified instance from the game loop.
|
start, terminatevoid attach(IUpdateable updatable)
updatable - The instance that will be registered for the update event.void detach(IUpdateable updatable)
updatable - The instance that will be unregistered for the update event.