
- Regina Spektor
Global Methods
| GetScript() | Returns a reference to the Script object |
| GetThread() | Returns a reference to the Thread object currently executing |
| GetMainThread() | Returns a reference to the main Thread object |
| GetDisplay() | Returns a reference to the local Display object |
See Also
Primitive Framework, Script, Thread
public method<Script> GetScript()
Parameters
None
Return Value
Reference to the Script object
Description
This global method returns a reference to the one and only Script object which is associated with this executing program/script. The Script object is created automatically by the VM during startup, and is available everywhere using this method. The Thread class also provides a Script() method for the same purpose.
Global Method
public method<Thread> GetThread()
Parameters
None
Return Value
Reference to the current Aztec Thread
Description
This global method returns a reference to the currently executing Thread object. The Script class also provides a Thread() method for the same purpose.
Global Method
public method<Thread> GetMainThread()
Parameters
None
Return Value
Reference to the main Aztec Thread
Description
This global method returns a reference to the main Thread object. The Script class also provides a MainThread() method for the same purpose.
Global Method
public method<Display> GetDisplay()
Parameters
None
Return Value
Reference to local Display object
Description
This global method returns a reference to the Display object associated with the local screen. The Script class also provides a Display() method for the same purpose.
Global Method