示例#1
0
        static void Main(string[] args)
        {
            string _title = "Dungeon Crawler";
            string _version = Assembly.GetExecutingAssembly().GetName().Version.ToString();
            string _creators = "Errorcodebin and RaveCode";
            Console.Title = _title + " | Version " + _version + " | by " + _creators;

            Game prog = new Game();
            prog.Start();
        }
        static void Main(string[] args)
        {
            Game _Game = new Game();

            //start our game loop - we keep running this function until the player quits.
            while ( _Game.isRunning )
            {
                _Game.Update();
            }
        }