public XNAConsole(XNAGame game) : base(game) { Assembly assembly = Assembly.GetExecutingAssembly(); StreamReader reader = new StreamReader(assembly.GetManifestResourceStream("kazaam.res.gui.xnaconsole.xml")); string xmlgui = reader.ReadToEnd(); LoadFromXML(xmlgui); Toggle(); }
public InputHandler(XNAGame game) { Game = game; }
public Scene(XNAGame game) { this.Game = game; Content = game.Content; Initialize(); }
public ConsoleState(XNAGame game) { this.game = game; console = new XNAConsole(game); history = new Stack <string>(); }
public Gui(XNAGame game) { MyraEnvironment.Game = game; }