Esempio n. 1
0
        public AsteroidGame(Game game, GraphicsDeviceManager g, SpriteBatch sb)
            : base(game, g, new Rectangle(0, 0, 600, 600), sb)
        {
            _gs          = new GameState(this);
            CurrentState = _gs;

            _pausestate = new PauseState(this);
        }
Esempio n. 2
0
        public AsteroidGame(Game game, GraphicsDeviceManager g, SpriteBatch sb)
            : base(game, g, new Rectangle(0, 0, 600, 600), sb)
        {
            _gs = new GameState(this);
            CurrentState = _gs;

            _pausestate = new PauseState(this);
        }