ERY.AgateLib.Timing Class Reference

Static class which handles timing. This is often used to update object positions and animations. More...

List of all members.

Static Public Member Functions

static void Pause ()
 Increments the pause counter. If the counter is greater than zero, the timer won't advance.
static void Resume ()
 Decrements the pause counter. If the pause counter is zero the timer will begin advancing.
static void ForceResume ()
 Sets the pause counter to zero, causing the timer to begin advancing regardless of how many calls to Pause() are made.
static void PauseAllTimers ()
 Calls Pause() on all timers, and fires the PauseAllTimersEvent.
static void ResumeAllTimers ()
 Calls Resume() on all timers, and fires the ResumeAllTimersEvent.
static void ForceResumeAllTimers ()
 Calls ForceResume on all timers, and fires the ResumeAllTimersEvent. You probably don't want to use this one much.

Properties

static double TotalSeconds [get]
 Returns the number of seconds since the application started.
static double TotalMilliseconds [get]
 Returns the number of milliseconds since the application started.

Classes

class  StopWatch
 Class which represents a StopWatch. A StopWatch can be paused and reset independently of other StopWatches. More...


Detailed Description

Static class which handles timing. This is often used to update object positions and animations.


Member Function Documentation

static void ERY.AgateLib.Timing.Pause (  )  [static]

Increments the pause counter. If the counter is greater than zero, the timer won't advance.

static void ERY.AgateLib.Timing.Resume (  )  [static]

Decrements the pause counter. If the pause counter is zero the timer will begin advancing.

static void ERY.AgateLib.Timing.ForceResume (  )  [static]

Sets the pause counter to zero, causing the timer to begin advancing regardless of how many calls to Pause() are made.

static void ERY.AgateLib.Timing.PauseAllTimers (  )  [static]

Calls Pause() on all timers, and fires the PauseAllTimersEvent.

static void ERY.AgateLib.Timing.ResumeAllTimers (  )  [static]

Calls Resume() on all timers, and fires the ResumeAllTimersEvent.

static void ERY.AgateLib.Timing.ForceResumeAllTimers (  )  [static]

Calls ForceResume on all timers, and fires the ResumeAllTimersEvent. You probably don't want to use this one much.


Property Documentation

double ERY.AgateLib.Timing.TotalSeconds [static, get]

Returns the number of seconds since the application started.

double ERY.AgateLib.Timing.TotalMilliseconds [static, get]

Returns the number of milliseconds since the application started.


The documentation for this class was generated from the following file:
AgateLib
Awesome Game and Tool Engine Library
SourceForge.net Logo