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(ItemAbilities value) { return((_items & value) > 0); }
public void Remove(ItemAbilities value) { _items &= ~value; }
public void Add(ItemAbilities value) { _items |= value; }