Aztec® Programming Language

Version 1.0 Alpha

Copyright © 2010-2013

Cold Spring® Development Group

All Rights Reserved

Download Aztec

Site Help

aztec.system.ScriptEvent

public abstract class ScriptEvent from<Event>

Base

Event

ScriptEvent

ScriptEvent is an abstract class which provides a simple framework for script related events, such as text and object messages sent to the script or the thread. It is mainly a placeholder for now, since the associated script will always be the same. It will be more useful when support is added for direct Script to Script messaging.

ScriptEvent Methods

ScriptEvent() Constructor for the ScriptEvent class
Script() Returns a reference to the Script object associated with the event

Derived Classes

See Also

 

ScriptEvent()

public method ScriptEvent(Script AssociatedScript)

Parameters

AssociatedScript

The script associated with the event

Return Value

None

Description

Constructor for the ScriptEvent class.

 

ScriptEvent Class


Script()

public method<Script> Script()

Parameters

None

Return Value

Reference to script associated with the event

Description

This method returns the script reference associated with the event. Currently, this will always be the single Script object associated with the executing script. Scripts will be able to send direct TextMessage and ObjectMessage events in the future, and this method will return the script reference associated with the Script which actually sent the message.

 

ScriptEvent Class

 

Copyright © 2010-2013

Cold Spring Development Group

All Rights Reserved

Download Aztec