Esempio n. 1
0
 private void CloseChoices()
 {
     _textChoicesWindow.Close();
     _textChoicesWindow = null;
     _textChoices.Dispose();
     _textChoices = null;
 }
Esempio n. 2
0
 private void ShouldLearnMoveAction(bool value)
 {
     if (value)
     {
         _fadeTransition = new FadeToColorTransition(1_000, 0);
         _state          = State.LearnMove_FadeToSummary;
     }
     else
     {
         _textChoicesWindow.Close();
         _textChoicesWindow = null;
         _textChoices.Dispose();
         _textChoices = null;
         _stringPrinter.Close();
         _stringPrinter = null;
         SetGiveUpLearningMove();
     }
 }
Esempio n. 3
0
 public void Dispose()
 {
     _fightChoices.Dispose();
     _moveChoices?.Dispose();
 }