Whether this event is in the map.
The set of collision layers that this event can be fired.
The set of directions that this event can be fired.
The set of directions that cause this event to have its activation toggled when reveal is casted.
When activating this event in diagonal, and if this var is not true, the diagonal direction whether the hero is trying to activate this event won't be splitted.
This event id number.
The set of directions that this event can be fired when it was created.
This event unique label/key name.
The interactable object that created this event (in the case of it has been created from it).
Returns the tile event type.
The x tile position.
The y tile position.
Gets all active/available events.
Activates this event in all initial directions.
if true, it will also make this event sensible to reveal.
Activates this event in a given direction.
the direction to activate this event. If "all" is passed, all directions will be activated.
Checks whether this event is disabled due to a storage value.
whether its disabled by storage value.
Checks whether the hero is over this tile event.
whether the hero position is correct or not.
Deactivates this event in all directions.
Deactivates this event in a given direction.
the direction to deactivate this event. If "all" is passed, all directions will be deactivated.
Destroys this tile event.
Fires this tile event.
Gets an activation direction of this event.
returns an direction.
Checks whether this event is active in any direction.
returns true if active.
Checks if this event is active in a given collision layer.
the collision layer index to be checked.
Tests whether a given direction is available to active this event. If no directions given, tests if at least one direction is active.
the direction to test if it's active.
Returns whether it's active or not.
Sets new collision layers that this event can active.
the collision layers indexes.
Updates the position of this event.
the new x tile position.
the new y tile position
folow the position change up to map events list.
This method will be called on map update. If necessary, overrides it.
Gets an event by its id number.
the event id.
returns the TileEvent instance.
Gets an event by its unique label/key name.
the event unique label/key name.
returns the TileEvent instance.
Destroys and resets all tile events that are instantiated currently.
Generated using TypeDoc
The collision layer shift value from origin Inter. Obj. base collision layer that will be summed up to it which will form the activation collision layer of this event.