private void RegisterState(PlayerState state) { StateMgr <PlayerState, PlayerStateMgr> .Register(state, new BasePlayerState(this)); }