Esempio n. 1
0
 /// <summary>
 /// Enables option(s)
 /// </summary>
 /// <param name="option"></param>
 public void Set(AttackerOptions option)
 {
     this.Options |= option;
 }
Esempio n. 2
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);
 }
Esempio n. 3
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);
 }
Esempio n. 4
0
 /// <summary>
 /// Enables option(s)
 /// </summary>
 /// <param name="option"></param>
 public void Set(AttackerOptions option)
 {
     this.Options |= option;
 }
Esempio n. 5
0
 public void SetAttackerOptions(AttackerOptions opts)
 {
     this.AttackerAction.Options |= opts;
 }