コード例 #1
0
ファイル: Game1.cs プロジェクト: nkreitz/Super-Space-Escape
        public Game1()
        {
            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";

            TargetElapsedTime = TimeSpan.FromTicks(333333);

            intro = new Introduction();
            instruct = new Instructions();
            instruct2 = new Instructions2();
            gameover = new GameOver();
            timex = new TimeExpired(); // instantiate menus

            // use the whole screen
            graphics.IsFullScreen = true;

            game_engine = new GameEngine(timex, gameover);
        }
コード例 #2
0
ファイル: Game1.cs プロジェクト: nkreitz/Super-Space-Escape
        public Game1()
        {
            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";

            TargetElapsedTime = TimeSpan.FromTicks(333333);

            intro     = new Introduction();
            instruct  = new Instructions();
            instruct2 = new Instructions2();
            gameover  = new GameOver();
            timex     = new TimeExpired(); // instantiate menus


            // use the whole screen
            graphics.IsFullScreen = true;

            game_engine = new GameEngine(timex, gameover);
        }