public Screen() { m_normalState = new NormalState(); m_largerState = new LargerState(); m_largestState = new LargestState(); SetState(m_normalState); m_currentState.Display(); }
public void SetState(State state) { m_currentState = state; }