Example #1
0
 void SetAction(Action set, ActionMap action)
 {
     if (!ActionLock.Contains(action))
     {
         set();
     }
 }
Example #2
0
 public static IEnumerable <ActionMap> Decompose(this ActionMap source)
 {
     foreach (ActionMap actionMap in typeof(ActionMap).GetEnumValues())
     {
         if (actionMap != 0 && source.Contains(actionMap))
         {
             yield return(actionMap);
         }
     }
 }