For use in the creation of components. Event is run when getting the value of a specific property and this property does not have a setter.
| Parameter | Type | Description |
|---|---|---|
| arr | [String] | keys of the getter |
| event | Function | event to run when when the property is gotten. Takes (entity, key) as parameters |
a reference to the event associated with this Getter
[String]
a reference to the keys associated with the Getter.