QuadUI 1.2.9 public beta
Run-time API for QuadUI

Clock2D Class Reference

Inheritance diagram for Clock2D:
ComplexComponent2D EventDispatcher

List of all members.

Public Member Functions

void SetTimeManually (float seconds)
void StartClock ()
void StartClock (float secondsOnClock)
void StartClock (float secondsOnClock, bool countDown)
void StopClock ()
void ResetClock ()
float TimeInSeconds ()

Public Attributes

Sprite2D minutesTens
Sprite2D minutesOnes
Element2D colon
Sprite2D secondsTens
Sprite2D secondsOnes

Member Function Documentation

void Clock2D.ResetClock ( )

Resets clock to 0 seconds.

void Clock2D.SetTimeManually ( float  seconds)

Allows for manual setting of time on clock.

void Clock2D.StartClock ( )

Starts the clock. 2 overloads, specify the amount of time to start from and whether or not this clock will count down.

void Clock2D.StartClock ( float  secondsOnClock,
bool  countDown 
)
void Clock2D.StartClock ( float  secondsOnClock)
void Clock2D.StopClock ( )

Stops clock from counting

float Clock2D.TimeInSeconds ( )

Returns the amount of time, in seconds, currently on the clock.


Member Data Documentation

 All Classes Functions Variables Enumerations Properties