예제 #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);
 }