Script Classes for Adventure Games/Timer2 Class
From SCI Wiki
Chapter:
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
Index
The Timer Class
The Timer class implements the concept of an alarm clock — you can set it to cue: an object at some future time.
In file: | system.sc |
Inherits from: | Object |
Inherited by: | none |
Properties
cycleCnt
The interval to be timed measured in animation cycles. This is set by the set: and setCycle: methods, and should not be manipulated directly.
seconds
The interval to be timed measured in seconds. This is set by the setReal: method and should not be manipulated directly.
lastTime
Used internally when timing seconds.
client
The object to cue: when the timer goes off.
Methods
- Notes
< Previous: The Room Class Next: The InvItem Class >