コード例 #1
0
 public void Command_Attack(Alive target)
 {
     if (target.Equals(currentTarget)) {
         return;
     }
     ClearCommands();
     currentTarget = target;
     walker.Hunt(target);
     CommandIssued = true;
 }
コード例 #2
0
 public void Command_Attack(Alive target)
 {
     if (target.Equals(currentTarget))
     {
         return;
     }
     ClearCommands();
     currentTarget = target;
     walker.Hunt(target);
     CommandIssued = true;
 }
コード例 #3
0
 public void Command_AttackMagic(Alive target)
 {
     if (target.Equals(currentTarget))
     {
         return;
     }
     ClearCommands();
     currentTarget = target;
     fighter.Fight(target);
     CommandIssued = true;
 }