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