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