Beispiel #1
0
 void win()
 {
     mission_ended = true;
     mission_won   = true;
     TurnOff();
     game_in_progress = false;
     time_left        = timelimit;
     _mainGame.OnWakeUp();
     _mainGame = null;
     print("game done and you won");
 }
Beispiel #2
0
 public void StartGame(ReadingLoop mainGame)
 {
     _mainGame = mainGame;
     reset_game();
     calc_next_ans();
 }