示例#1
0
        private static void OnRootConsoleRender(object sender, UpdateEventArgs e)
        {
            MainConsole.Clear();
            //MainConsole.Print(30, 20, "@", RLColor.White);

            if (currentState != null)
            {
                currentState.Render(MainConsole);
            }

            MainConsole.Draw();
        }
示例#2
0
 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);
     }
 }