예제 #1
0
 private void SetView(LetterState state)
 {
     if (state.GetState() == LetterStateType.Selected)
     {
         view.ShowSelected();
     }
     if (state.GetState() == LetterStateType.Unselected)
     {
         view.ShowUnselected();
     }
 }
 private void ChangeStateInPosition(LetterState currentState)
 {
     if (currentState.GetState() == LetterStateType.Selected)
     {
         currentState.SetUnselected();
     }
     else if (currentState.GetState() == LetterStateType.Unselected)
     {
         currentState.SetSelected();
     }
 }