示例#1
0
 public override bool Execute()
 {
     if (collide)
     {
         Character P_character = player.GetComponent <Character>();
         P_character.GetDamage(-Damage);
         M_character.GetDamage(-M_character.HP);
         collide = false;
         return(true);
     }
     else
     {
         return(false);
     }
 }