Exemplo n.º 1
0
 // public int current
 public bool IsBoisTypeActive(EBoidsActiveType type)
 {
     if (_activeBoids == (int)EBoidsActiveType.all)
     {
         return(true);
     }
     return((((int)type) & _activeBoids) > 0);
 }
Exemplo n.º 2
0
 public int GetBoisTypeExcept(EBoidsActiveType type)
 {
     return(EBoidsActiveType.all - type);
 }