/// <summary> /// Enables option(s) /// </summary> /// <param name="option"></param> public void Set(AttackerOptions option) { this.Options |= option; }
/// <summary> /// Returns true if the specified option is set. /// </summary> /// <param name="option"></param> /// <returns></returns> public bool Has(AttackerOptions option) { return((this.Options & option) != 0); }
/// <summary> /// Returns true if the specified option is set. /// </summary> /// <param name="option"></param> /// <returns></returns> public bool Has(AttackerOptions option) { return ((this.Options & option) != 0); }
public void SetAttackerOptions(AttackerOptions opts) { this.AttackerAction.Options |= opts; }