示例#1
0
 public Attack(Controller controller, Weapon weapon, AttackType type) : base(controller)
 {
     _type   = type;
     _attack = GetAttack(weapon);
     _attack.OnCall(controller, weapon);
     controller.stateName = GetName();
 }
示例#2
0
 public Attack GetRelease()
 {
     actual = Instantiate(release);
     return(actual);
 }
示例#3
0
 public Attack GetCharge()
 {
     actual = Instantiate(charge);
     return(actual);
 }