Skip to main content

PlayerStateBase<T>

An abstract class in Root.Township, Alta.PlayerStates.

A player state that decorates a base state of type T, for example SpiritState on PlayingState.

Constructors​

MemberWhat it is
PlayerStateBase(T baseState)Creates a PlayerStateBase from baseState.

Properties​

MemberWhat it is
T BaseState { get; set; }The typed base state. Setting it in the constructor also sets the untyped one.