public void CheckIfStarved(Game game) { if (AreProvisionsZeroOrLess(game.userService.User.Provisions)) { gameState.Outcome = GameOutcomeEnum.LOST; QuitService.Quit(game, ConsoleKey.Escape, 3); } }
public void CheckIfEnoughCollected(Game game) { if (MeatCollectionCondition(game.userService.User.Meat)) { game.screenManager.UpdateScreen(game); gameState.Outcome = GameOutcomeEnum.WON; QuitService.Quit(game, ConsoleKey.Escape, 3); } }