Exemplo n.º 1
0
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main(string[] args)
        {
            GameBox gbox = new GameBox();

            gbox.loadContent();

            //while(true){
            gbox.run();
            //}

            //gbox.unloadContent();
        }
Exemplo n.º 2
0
        public GameBox() {
            window = new RenderWindow(new VideoMode(GAMERESX, GAMERESY, 32), "Turtle");
            window.Closed += new EventHandler(OnClose);
            //graphics = null;

//            if (ISFULLSCREEN) graphics.IsFullScreen = true;
            
            game = this;
        }