public IsButtonPressed ( Buttons button ) : bool | ||
button | Buttons | Button to check state of. |
리턴 | bool |
public bool IsButtonPressed(Buttons button)
{
return ((((Buttons)status.buttons) & button) != 0);
}
}