Example #1
0
 static public bool AreCurrentAndPastValues <T, J>(this GamepadEventHistory <T> item, ICollection <J> sequence, Relation <T, J> relation)
 {
     return(item.AreCurrentAndPastEvents(sequence, (e, o) => relation(e.GetValue(), o)));
 }
Example #2
0
 static public bool AreCurrentAndPastEvents <T, J>(this GamepadEventHistory <T> item, IEnumerable <J> sequence, Relation <GamepadEvent <T>, J> relation)
 {
     return(item.AreCurrentAndPastEvents(sequence.ToList(), relation));
 }