public PlayerState(StateManager stateManager, string stateName) { this.stateManager = stateManager; this.stateName = stateName; }