示例#1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (GameClient game = new GameClient())
     {
         game.Run();
     }
 }
示例#2
0
 /// <summary>
 /// Creates a new CssInterpreter
 /// </summary>
 public CssInterpreter(GameClient parentGame, SpriteFont font) : base((GameClient)parentGame)
 {            
     multi = "";
     game = parentGame;
     console = new XnaConsoleComponent(game, font);
     game.Components.Add(console);
     Prompt();
 }
示例#3
0
        /// <summary>
        /// Creates a new CssInterpreter
        /// </summary>
        public CssInterpreter(GameClient parentGame, SpriteFont font) : base((GameClient)parentGame)
        {
            multi = "";
            game = parentGame;
            // Initialize console for interpreter

            // Register console as part of the game environment

            // Show prompt and await input

        }