public justReleased ( Buttons button ) : bool | ||
button | Buttons | |
Результат | bool |
public bool justReleased(Buttons button)
{
if ((old.IsButtonDown(button) && current.IsButtonUp(button)))
return true;
else
return false;
}