public UserInputController(string id, ControllerType controllerType, KeyboardManager keyboardManager, MouseManager mouseManager, GamePadManager gamePadManager, Keys[] moveKeys, float moveSpeed, float strafeSpeed, float rotationSpeed) : base(id, controllerType) { this.keyboardManager = keyboardManager; this.mouseManager = mouseManager; this.gamePadManager = gamePadManager; MoveKeys = moveKeys; MoveSpeed = moveSpeed; StrafeSpeed = strafeSpeed; RotationSpeed = rotationSpeed; }
//useful for objects that need access to ALL managers public ManagerParameters(MouseManager mouseManager, KeyboardManager keyboardManager, GamePadManager gamePadManager) { this.mouseManager = mouseManager; this.keyboardManager = keyboardManager; this.gamePadManager = gamePadManager; }