Esempio n. 1
0
 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;
 }
Esempio n. 2
0
File: Game1.cs Progetto: Wydra/LD24
 protected override void Initialize()
 {
     RNG.Seed();
     InputState = new InputState();
     base.Initialize();
 }