protected override void Initialize() { _worldSize = new Vector2(800, 800); //_organisms = new List<Organism>(); _camera = new Camera(_worldSize, new Vector2(_graphics.PreferredBackBufferWidth, _graphics.PreferredBackBufferHeight)); _input = new InputManager(_camera); base.Initialize(); }
public InputManager(Camera camera) { CameraInputHandler = new CameraInputHandler(camera); }