Difference between revisions of "Script Classes for Adventure Games/Timer2 Class"

From SCI Wiki
Jump to navigationJump to search
 
(One intermediate revision by the same user not shown)
Line 65: Line 65:
 
==== client ====
 
==== client ====
 
<blockquote>The object to cue: when the timer goes off.</blockquote>
 
<blockquote>The object to cue: when the timer goes off.</blockquote>
 +
</blockquote>
  
 
===<br /> Methods ===
 
===<br /> Methods ===
 
<blockquote></blockquote>
 
<blockquote></blockquote>
</blockquote>
 
  
 
&nbsp;
 
&nbsp;

Latest revision as of 01:41, 11 December 2015

Official SCI Documentation

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

Author: Jeff Stephenson

Date: 5 April 1988

 


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


 

Table of Contents

 

< Previous: The Room Class Next: The InvItem Class >