Dgame.System.StopWatch

Members

Functions

asHours
uint asHours(uint n)

Convert the Clock milliseconds to hours

asMinutes
float asMinutes(uint n)

Convert the Clock milliseconds to minutes

asSeconds
float asSeconds(uint n)

Convert the Clock milliseconds to seconds

Properties

minutes
uint minutes [@property getter]

Returns the given minutes in milliseconds *

seconds
uint seconds [@property getter]

Returns the given seconds in milliseconds *

Structs

StopWatch
struct StopWatch

This class handles timer functions and the window class use these class to calculate the current fps.

Time
struct Time

The Time struct converts ticks to msecs, seconds, minutes and hours.

Meta