Method for adding systems.
Remove all components that belong to an entity.
Create an entity that is in the world. Basically just new Entity(world), but saves an import of Entity.
Destroys an entity. Same as entity.destroy().
Given an entity id and componentType, returns component
Find and get the first instance of a component, without any associated entities. Helpful is you know that only one instance of a component exists across all entities.
Component Class Contructor
A default component instance if no components are found.
Grabs the first entity, and its related component, that matches the component type.
Grab all the components primarily, and the entities if needed
Grab single component based on component type and predicate.
"locates" a single entity based on its Components.
Locates all entities that contain the components named
Remove a component from the given entity. NOTE: This will change what systems will be called on the entity.
Generated using TypeDoc
Add a component on the given entity