jetlag2d
    Preparing search index...

    Class TimerService

    TimerService manages an abstract clock object that can execute events at some point in the future. Critically, time only advances when the associated scene wants it to advance. Thus we can easily pause a timer, and delay execution of all of its events, by simply failing to call advance(). It is also easy to destroy the service and end the repetition of the events it entails, because we can do so at the granularity of the TimerService, not the individual events.

    Index