update

update function

virtuosity.engine2d.update

Methods


Methods

add

add an event to the update function

virtuosity.engine2d.update.add(canvas, id, event);


Parameter Type Description
canvas String id of canvas to add event to update function
id String unique id of the update event
event Function event to add to update function

remove

remove an event from the update function

virtuosity.engine2d.update.remove(canvas, id4);


Parameter Type Description
canvas String id4 of canvas to remove event from update function
id4 String id4 of the update event