Пример #1
0
		public bool IsPressed (uint button, ref Controls previousControls)
		{
			return ((Buttons & button) != 0) && ((previousControls.Buttons & button) != 0);
		}
Пример #2
0
 public bool IsPressed(uint button, ref Controls previousControls)
 {
     Runtime.ValidateObject(this);
     return ((Buttons & button) != 0) && ((previousControls.Buttons & button) != 0);
 }