public ModeGameplay(Game game, InputState inputState, GraphicsDevice graphicsDevice) { this.Game = game; this.InputState = inputState; Background = new Background(graphicsDevice); Map = new Rectangle(0, 0, 5000, 5000); Camera = new Camera(graphicsDevice.Viewport.Bounds, Map); SoundManager.camera = Camera; }
protected override void Initialize() { RNG.Seed(); InputState = new InputState(); base.Initialize(); }