Exemple #1
0
		protected void SwitchStates(GameState state)
		{
			Manager.SwitchStates(state);
		}
		public void SwitchStates(GameState state)
		{
			LeaveState();
			EnterState(state);
		}
Exemple #3
0
		protected void EnterState(GameState state)
		{
			Manager.EnterState(state);
		}
		public void EnterState(GameState state)
		{
			state.LoadContent(_content);
			_states.Insert(0, state);
		}