Artemis.Engine.Input.MouseInput.IsUnheldForAtleast C# (CSharp) Method

IsUnheldForAtleast() public method

Check if a button has been left unpressed for at least the given number of frames.
public IsUnheldForAtleast ( MouseButton button, int frames ) : bool
button MouseButton
frames int
return bool
        public bool IsUnheldForAtleast(MouseButton button, int frames)
        {
            return FramesSinceButtonReleased[(int)button] >= frames;
        }