forEach

itterate over all entities

virtuosity.engine2d.stage.Stage2D.forEach

Methods


Methods

texts

itterate over text entities

virtuosity.engine2d.stage.Stage2D.forEach.texts(event);


Parameter Type Description
event Function event to run on each entity (takes the entity as a parameter)

all

itterate over all entities

virtuosity.engine2d.stage.Stage2D.forEach.all(event);


Parameter Type Description
event Function event to run on each entity (takes the entity as a parameter)