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