new EventStack()
The event stack is an object that is used to store event listeners.
- Source:
Members
-
afterslchange :Array.<PhSimEventCall>
-
Array of functions to be executed after the simulation is changed This array represents event:afterslchange
Type:
- Array.<PhSimEventCall>
- Source:
-
afterspriteimgload
-
Array of functions to be executed after the Sprite Image Array loads
- Source:
-
afterupdate :Array.<PhSimEventCall>
-
Array of functions to be executed after the simulation updates This array represents event:afterupdate
Type:
- Array.<PhSimEventCall>
- Source:
-
beforeslchange :Array.<PhSimEventCall>
-
Array of functions to be executed before the simulation is changed This array represents event:beforeslchange
Type:
- Array.<PhSimEventCall>
- Source:
-
beforespriteimgload :Array.<PhSimEventCall>
-
Array of functions to be executed before the Sprite Image Array loads This array represents event:beforespriteimgload
Type:
- Array.<PhSimEventCall>
- Source:
-
beforeupdate :Array.<PhSimEventCall>
-
Array of functions to be executed before the simulation updates This array represents event:beforeupdate
Type:
- Array.<PhSimEventCall>
- Source:
-
click
-
Array of functions to be executed when the canvas is clicked on
- Source:
-
clone
-
Array of functions to be executed when an object is cloned
- Source:
-
collisionactive
-
Array of functions to be executed during an active collision
- Source:
-
collisionend
-
Array of functions to be executed when a new collision is deleted
- Source:
-
collisionstart
-
Array of functions to be executed when a new collision is created
- Source:
-
contact :Array.<PhSimEventCall>
-
Array of functions to be executed whenever two or more objects contact each other This array represents event:contact
Type:
- Array.<PhSimEventCall>
- Source:
-
exit
-
Array of functions to be executed before the simulation exit
- Source:
-
firstslupdate
-
Array of functions
- Source:
-
keydown
-
Array of functions to be executed when at least one key is pressed
- Source:
-
mousedown
-
Array of functions to be executed when the canvas is clicked down on
- Source:
-
mousemove
-
Array of functions to be executed when the mouse moves This array represents event:mousemove
- Source:
-
mouseout
-
Array of functions to be executed when mouse leaves simulation canvas
This array represents event:mouseout
- Source:
-
mouseup
-
Array of functions to be executed when mouse is let go while over simulation canvas
This array represents event:mouseup
- Source:
-
objmousedown
-
Array of functions to be executed when the mouse is down on an object
- Source:
-
objmouseout
-
Array of functions to be executed when the mouse is over an object
- Source:
-
objmouseover
-
Array of functions to be executed when the mouse is over an object
- Source:
-
objupdate :Array.<PhSimEventCall>
-
Array of functions to be exected when PhSim.updateDynObject is called This array represents event:objupdate
Type:
- Array.<PhSimEventCall>
- Source:
-
wfunctionerror
-
Array of functions to be executed when an wFunction body makes an error.
- Source: