예제 #1
0
 public void setEnemyAttacker(IEnemyAttacker attacker)
 {
     enemyAttacker = attacker;
 }
예제 #2
0
 static void Attack(IEnemyAttacker attacker)
 {
     attacker.FireWeapon();
     attacker.AssignDriver("Shane");
     attacker.DriveForward();
 }