private void GameOver() { if (Monster.MonsterCount == 0) { player.X = 0; player.Y = 0; level++; newPlayer = false; Console.Clear(); TextUtils.Animate("You killed all monsters!"); Console.Clear(); TextUtils.Animate("Prepare for the next level..."); //Console.ReadKey(); } else { level = 1; newPlayer = true; player = new Player(200, 0, 0); Console.Clear(); TextUtils.Animate("Game over, you died..."); //Console.ReadKey(); } Play(); }