Метод | Описание | |
---|---|---|
Begin ( SafeSharedObjects shared ) : void |
Need to track the shared object in order to query current game time. The timer starts "counting" from where the clock was when the CPU calls this (which it does as soon as you do a YieldProgram() call.)
|
|
IsFinished ( ) : bool |
Return true if the timer ran out, or false if the timer has not run out.
|
|
YieldFinishedGameTimer ( double duration ) |
Make a new timer that will expire after the given number of seconds have passed in game-clock time (not real-world time).
|
public Begin ( SafeSharedObjects shared ) : void | ||
shared | SafeSharedObjects | |
Результат | void |
public YieldFinishedGameTimer ( double duration ) | ||
duration | double |