Jypeli 4
The simple game programming library
Julkiset jäsenfunktiot | Ominaisuudet | Tapahtumat
PhysicsTimer luokkareferenssi

A class to update the PhysicsEngine at regular intervals. Lisää...

Lista kaikista jäsenistä.

Julkiset jäsenfunktiot

 PhysicsTimer (PhysicsCallback callback, Scalar targetInterval)
 Creates a new PhysicsTimer Instance.
void Dispose ()
 Stops the Timer.
void RunOnCurrentThread ()

Ominaisuudet

bool IsBackground [get, set]
 Gets or sets a value indicating whether or not the thread that runs the time is a background thread.
bool IsRunning [get, set]
 Gets and Sets if the PhysicsTimer is currently calling the Callback.
Scalar TargetInterval [get, set]
 Gets and Sets the desired Interval between Callback calls.
TimerState State [get]
 Gets the current State of the PhysicsTimer.
PhysicsCallback Callback [get, set]
 Gets and Sets the current Callback that will be called.

Tapahtumat

EventHandler IsRunningChanged

Yksityiskohtainen selite

A class to update the PhysicsEngine at regular intervals.


Rakentajien & purkajien dokumentaatio

PhysicsTimer ( PhysicsCallback  callback,
Scalar  targetInterval 
) [inline]

Creates a new PhysicsTimer Instance.

Parametrit:
callbackThe callback to call.
targetDtThe target change in time. (in seconds)

Jäsenfunktioiden dokumentaatio

void Dispose ( ) [inline]

Stops the Timer.


Ominaisuuksien dokumentaatio

PhysicsCallback Callback [get, set]

Gets and Sets the current Callback that will be called.

bool IsBackground [get, set]

Gets or sets a value indicating whether or not the thread that runs the time is a background thread.

bool IsRunning [get, set]

Gets and Sets if the PhysicsTimer is currently calling the Callback.

TimerState State [get]

Gets the current State of the PhysicsTimer.

Scalar TargetInterval [get, set]

Gets and Sets the desired Interval between Callback calls.


Dokumentaatio tälle luokalle luotiin seuraavasta tiedostosta:
 Kaikki Luokat Nimiavaruudet Funktiot Muuttujat Luettelotyypit Ominaisuudet Tapahtumat