public StandardScene(GraphicsDeviceManager gdm, MainGame game) { this.game = game; this.gdm = gdm; camera = new Camera(gdm.GraphicsDevice.Viewport, new Vector2(0, 0)); hudCamera = new Camera(gdm.GraphicsDevice.Viewport, new Vector2(0, 0)); input = new Inputs(camera, hudCamera); }
public Hud(Camera camera, Camera cameraHud, Inputs input, SimulationWorld world) { this.camera = camera; this.cameraHud = cameraHud; this.world = world; this.aim = new Aim(world.Player, this); this.mainMenu = new MainMenu(); this.input = input; menu = true; }
public Inputs(Camera camera, Camera cameraHud) { this.camera = camera; this.cameraHud = cameraHud; }