Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            Console.CursorVisible = false;
            ConsoleGraphics graphics = new ConsoleGraphics();

            Field field = new Field();
            Cross cross = new Cross();

            while (true)
            {
                graphics.FillRectangle(0xFFFFFFFF, 0, 0, graphics.ClientWidth, graphics.ClientHeight);
                graphics.DrawString("0", "Arial", 0xFF00FFFF, 200, 500, 50);
                field.Render(graphics);
                if (Input.IsMouseLeftButtonDown)
                {
                    cross.Render(graphics);
                }

                graphics.FlipPages();
                //Thread.Sleep(50);
            }
        }
Ejemplo n.º 2
0
 public void Update(Cross cross)
 {
 }