private static void OnRootConsoleRender(object sender, UpdateEventArgs e) { MainConsole.Clear(); //MainConsole.Print(30, 20, "@", RLColor.White); if (currentState != null) { currentState.Render(MainConsole); } MainConsole.Draw(); }
public override void Draw(TimeSpan delta) { base.Draw(delta); if (StartScreen.IsActive) { StartScreen.Draw(delta); } else { MessageConsole.Draw(delta); MenuConsole.Draw(delta); MainConsole.Draw(delta); } }