CGSGEvent Class
This class represents an event fired by observable (through event manager) to observers (the handlers) functions.
Constructor
Methods
render
(
-
context
-
width
-
height
This function must be filled by the inherited classes.
render
(
-
context
-
width
-
height
This function must be filled by the inherited classes.
Properties
data
Object the wrapped data
Data wrapped in this event
observable
Object the observable object
Fields that should be filled by object which triggers this event
Default: null
propagate
Boolean true if next events should be dispatched, false otherwise
Flags which indicates if events which are going to be dispatched should be ignored
Default: true
trigger
Object the trigger
Object which has created this event
type
String the type of event
Fields that should be filled by object which triggers this event
Default: null