public void Draw() { try { Console.Clear(); } catch (Exception e) { } if (CurrentNode.isBridge()) { Console.ForegroundColor = ConsoleColor.Red; } else if (CurrentNode.IsExit) { Console.ForegroundColor = ConsoleColor.DarkYellow; } else { Console.ForegroundColor = ConsoleColor.DarkGreen; } string[] drawmap = CurrentNode.CreateEnemyOverview(debug); foreach (string s in drawmap) { Console.WriteLine(s); } Console.WriteLine(FormatHud()); if (debug) { Console.WriteLine(dungeon.ToString()); DebugableRandom r = (DebugableRandom)random; if (r != null) { Console.WriteLine("Seed: " + r.initialSeed); Console.WriteLine("Call count: " + r.callCount); } } }