public bool Right(InputDetectionType detectionType, DirectionalInputTypes inputTypes)
{
// todo: for all directions: check if game is active!
if (inputTypes.HasFlag(DirectionalInputTypes.ScrollWheel) && Mouse.GetScrollWheelDifference() < 0)
{
return true;
}
else if (inputTypes != DirectionalInputTypes.ScrollWheel) // when it's only scroll wheel, do not check the rest.
{
return CheckDirectional(detectionType, InputDirection.Right, inputTypes, Keys.Right, Keys.D, Buttons.LeftThumbstickRight, Buttons.RightThumbstickRight, Buttons.DPadRight);
}
return false;
}
public bool Up(InputDetectionType detectionType, DirectionalInputTypes inputTypes)