Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
 public InputHandler(XNAGame game)
 {
     Game = game;
 }
Exemplo n.º 3
0
 public Scene(XNAGame game)
 {
     this.Game = game;
     Content   = game.Content;
     Initialize();
 }
Exemplo n.º 4
0
 public ConsoleState(XNAGame game)
 {
     this.game = game;
     console   = new XNAConsole(game);
     history   = new Stack <string>();
 }
Exemplo n.º 5
0
 public Gui(XNAGame game)
 {
     MyraEnvironment.Game = game;
 }