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.
- Listed in Players and characters
- Inherits or implements
PlayerStateBase - Derived types
CombatState,DownedState,EquipmentState,SpiritState - Documented in Player states
Constructors
| Member | What it is |
|---|---|
PlayerStateBase(T baseState) | Creates a PlayerStateBase from baseState. |
Properties
| Member | What it is |
|---|---|
T BaseState { get; set; } | The typed base state. Setting it in the constructor also sets the untyped one. |