public EntityAbility(GeneralAbilities general, ItemAbilities items, EntityAbilities interactions, EffectAbilities magic, AIAbilities ai) { _general = general; _items = items; _interactions = interactions; _magic = magic; _ai = ai; }
public EntityAbility(EntityAbility source) { this._general = source._general; this._items = source._items; this._interactions = source._interactions; this._magic = source._magic; this._ai = source._ai; }
public bool Check(AIAbilities value) { return((_ai & value) > 0); }
public void Remove(AIAbilities value) { _ai &= ~value; }
public void Add(AIAbilities value) { _ai |= value; }