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