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
 /// <summary>
 /// Pushes a state onto the state stack.
 /// </summary>
 public static void PushState(State state)
 {
     StateStack.Add(state);
     state.Enter();
 }