Add a new ComponentMapping to this state. The mapping is a utility class that is used to map a component type to the provider that provides the component.
The type of component to be mapped
The component mapping to use when setting the provider for the component
Get the ComponentProvider for a particular component type.
The type of component to get the provider for
The ComponentProvider
To determine whether this state has a provider for a specific component type.
The type of component to look for a provider for
true if there is a provider for the given type, false otherwise
Generated using TypeDoc
Represents a state for an EntityStateMachine. The state contains any number of ComponentProviders which are used to add components to the entity when this state is entered.