public IsHeldForAtleast ( MouseButton button, int frames ) : bool | ||
button | MouseButton | |
frames | int | |
return | bool |
public bool IsHeldForAtleast(MouseButton button, int frames)
{
return FramesSinceButtonPressed[(int)button] >= frames;
}