+ switch (session.run())
+ {
+ case GameSession::LEVEL_FINISHED:
+ level->solved = true;
+ break;
+ case GameSession::LEVEL_ABORT:
+ // Reseting the player_status might be a worthy
+ // consideration, but I don't think we need it
+ // 'cause only the bad players will use it to
+ // 'cheat' a few items and that isn't necesarry a
+ // bad thing (ie. better they continue that way,
+ // then stop playing the game all together since it
+ // is to hard)
+ break;
+ case GameSession::GAME_OVER:
+ quit = true;
+ break;
+ case GameSession::NONE:
+ // Should never be reached
+ break;
+ }