Attach this to a GraphicsEngine entity to debug/observe collisions.
This is for debugging/utility only. Keep in mind that it puts additional load on the calculations.
A reference to another entity's component.
It'll internally search the current world for the given entity + component and keep and check the reference.
The idea is to keep the reference as a variable. This avoids ugly search code in the component space.
Finds a component within this entitiy.
Class-Name of the component
Overwrite this if you need to listen to render events.
It only works if you also register the outer entity to receive render events:
this.world.requestRenderEvents(this.entity); // REQUIRED!!
Send a message to all active entities
Send a message to all entities.
This should be used with caution as there may be thousends of entities to crawl.
Send a message to all entity components
Generated using TypeDoc