EEO

Event Emitting Object. For use in the creation of components. Event is run when the value of a specific property that an Entity gets from a Component is changed.

new ocs.EEO(obj, event);


Parameter Type Description
obj Object object for use in component
event Function event to run when properties of obj are changed. Takes (entity, key, val) as parameters

Methods

Properties


Methods

event

a reference to the event associated with this EEO

ocs.EEO.event();


Properties

keys

[String]

a reference to the keys associated with the EEO.

ocs.EEO.keys