Enter() 공개 메소드

Called when a State is added to the game. InitializeCamera is called here by default.
public Enter ( ) : void
리턴 void
예제 #1
0
 public static void PushState(State state)
 {
     states.Add(state);
     state.Enter();
 }
예제 #2
0
파일: Game.cs 프로젝트: DatZach/Californium
 /// <summary>
 /// Pushes a state onto the state stack.
 /// </summary>
 public static void PushState(State state)
 {
     StateStack.Add(state);
     state.Enter();
 }