Beispiel #1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (GameClient game = new GameClient())
     {
         game.Run();
     }
 }
Beispiel #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();
 }
Beispiel #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

        }