Ejemplo 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));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Attack the other critter
 /// </summary>
 public void Attack()
 {
     _me.Attack(_otherCritter);
 }