示例#1
0
 public readonly bool HasBeenPressed(RangeTick range) => range.Contains(Pressed);
示例#2
0
 public readonly bool HasBeenReleased(RangeTick range) => range.Contains(Released);
示例#3
0
 public readonly bool AnyUpdate(RangeTick range)
 {
     return(range.Contains(Pressed) || range.Contains(Released));
 }