Method Matches
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
Matches(LifeCycleEvent, LifeCycleEvent)
Returns whether eventToMatch includes any flags from currentEvent.
public static bool Matches(this LifeCycleEvent eventToMatch, LifeCycleEvent currentEvent)
Parameters
eventToMatchLifeCycleEventThe event or combination of events to test against.
currentEventLifeCycleEventThe event that is currently occurring.