示例#1
0
文件: Controls.cs 项目: corefan/urho
		public bool IsPressed (uint button, ref Controls previousControls)
		{
			return ((Buttons & button) != 0) && ((previousControls.Buttons & button) != 0);
		}
示例#2
0
文件: Controls.cs 项目: Zamir7/urho
 public bool IsPressed(uint button, ref Controls previousControls)
 {
     Runtime.ValidateObject(this);
     return ((Buttons & button) != 0) && ((previousControls.Buttons & button) != 0);
 }