IPlayerStateFactory
An interface in Root.Township, Alta.PlayerStates.
Makes player state objects for a PlayerStateManager. PlayerStateFactory is the implementation.
- Listed in Players and characters
- Derived types
PlayerStateFactory
Methods
| Member | What it is |
|---|---|
IPlayerState CreateNewPlayerState(PlayerStateType stateType, IPlayerState baseStateForDecorators) | Creates the state for the given state type, wrapping the given base state when the new state is a decorator. |
Used in
Members of other types that take, return or hold a IPlayerStateFactory: