Esempio n. 1
0
 /// <summary>
 /// Attack a given critter.
 /// </summary>
 /// <param name="otherCritter">Reference to other critter.</param>
 /// <returns>Result of attack.</returns>
 public EnumAttackResult Attack(IOtherCritter otherCritter)
 {
     return(_body.Attack(otherCritter));
 }
 /// <summary>
 /// Attack the other critter
 /// </summary>
 public void Attack()
 {
     _me.Attack(_otherCritter);
 }