public bool GetFlag(AbilityFlag ability) { return(abilityFlags[ability]); }
public void SetFlag(AbilityFlag ability, bool value) { abilityFlags[ability] = value; }
public bool testFlag(AbilityFlag _flag) { return((flag & _flag) == _flag); }