SDL time management routines
OperationsWait a specified number of milliseconds before returning
function : Delay(ms:Int) ~ Nil
Name | Type | Description |
---|---|---|
ms | Int | number of milliseconds to delay |
Get the number of milliseconds since the SDL library initialization
function : GetTicks() ~ Int
Type | Description |
---|---|
Int | value representing the number of milliseconds since the SDL library initialized |
Compares SDL ticks values
function : Passed(a:Int, b:Int) ~ Bool
Name | Type | Description |
---|---|---|
a | Int | the first ticks values |
b | Int | the second ticks values |
Type | Description |
---|---|
Bool | true if A has passed B, false otherwise |