Skip to main content

IPlayerStateFactory

An interface in Root.Township, Alta.PlayerStates.

Makes player state objects for a PlayerStateManager. PlayerStateFactory is the implementation.

Methods​

MemberWhat 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: