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