public BaseGame() { graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; IsFixedTimeStep = false; graphics.SynchronizeWithVerticalRetrace = false; //TODO: fullscreen on alt+enter //graphics.IsFullScreen = true; cam = new Camera2d(); if (AndroidStuff.RunningOnAndroid) { cam.Pos = new Vector2(7000f, 5500f); cam.Zoom = 0.1f; ScorePosition = new Vector2(4500, 7000); } else { cam.Pos = new Vector2(7000f, 4500f); cam.Zoom = 0.11f; ScorePosition = new Vector2(4500, 6250); } World = new World(cam); }
public InputRepository(Camera2d Camera2d) { this.Camera2d = Camera2d; }
public World(Camera2d Camera2d) { this.Camera2d = Camera2d; PlayerInputs = new InputRepository(Camera2d); }