public void SetInputConnector(InputConnector inputConnector) { if (_inputConnector == null) { _inputConnector = inputConnector; } }
public virtual void Initialize() { if (_inputConnector == null) { _inputConnector = new InputConnector(); } _oldScrollWheelValue = _inputConnector.GetMouseState().ScrollWheelValue; _oldMousePosition = _inputConnector.GetMouseState().Position; _buttonForSelectIsHeldDown = false; _buttonForAlternateSelectIsHeldDown = false; _buttonForSelectClicked = false; _buttonForAlternateSelectClicked = false; }