예제 #1
0
 public bool GetFlag(AbilityFlag ability)
 {
     return(abilityFlags[ability]);
 }
예제 #2
0
 public void SetFlag(AbilityFlag ability, bool value)
 {
     abilityFlags[ability] = value;
 }
예제 #3
0
 public bool testFlag(AbilityFlag _flag)
 {
     return((flag & _flag) == _flag);
 }