protected override void TakeInput() { base.TakeInput(); if (!InputManager.KeyPressed(ShootKey) && InputManager.ButtonPressed(eInputButtons.Left)) { Shoot(); } Position += new Vector2(InputManager.MousePositionDelta.X, 0); }
protected override void TakeInput() { base.TakeInput(); if (!InputManager.KeyPressed(ShootKey) && InputManager.ButtonPressed(eInputButtons.Left)) { Shoot(); } Position += new Vector2(InputManager.MousePositionDelta.X, 0); }