home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / oops / r3timer.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  810 b   |  46 lines

  1.  
  2. // JavaScript wrapper for r3timer.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_TIMER_H = 1;
  7. include("oops/r3root.js")
  8.  
  9.  
  10. var R3CLID_TIMER = 82;
  11.  
  12.  
  13.  
  14.  
  15. // Description: Set time for timer.
  16. // p3: Integer, time in msecs
  17.  
  18. R3TIMERM_TRIGGER = 82000;
  19.  
  20. function mR3TIMERM_TRIGGER(p3) {
  21.   DoA(this.r3obj, 82000, p3, R3TID_INTEGER, 0);
  22. }
  23.  
  24. // Description: Cancel timer
  25.  
  26. R3TIMERM_CANCEL = 82001;
  27.  
  28. function mR3TIMERM_CANCEL() {
  29.   DoA(this.r3obj, 82001, 0, R3TID_INTEGER, 0);
  30. }
  31.  
  32.  
  33.  
  34. function r3Timer () { 
  35.    this.base = r3God;
  36.    if(arguments.length) {
  37.       this.base(R3CLID_TIMER, arguments);
  38.    }
  39.    // Methods
  40.    this.TRIGGER=mR3TIMERM_TRIGGER;
  41.    this.CANCEL=mR3TIMERM_CANCEL;
  42.  
  43. }
  44.  
  45. r3Timer.prototype=new r3Root;
  46. // r3timer.h_H