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