AgateLib.Timing Class Reference

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

List of all members.

Classes

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

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.


Detailed Description

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


Member Function Documentation

static void 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 AgateLib.Timing.ForceResumeAllTimers (  )  [static]

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

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

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

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

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

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

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

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

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


Property Documentation

double AgateLib.Timing.TotalMilliseconds [static, get]

Returns the number of milliseconds since the application started.

double AgateLib.Timing.TotalSeconds [static, get]

Returns the number of seconds 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