Ejemplo n.º 1
0
 public override void Shoot()
 {
     base.Shoot();
     if (details.CheckBattery(details.fireballCost))
     {
         currentState = new ShootState(details);
         currentState.Shoot();
     }
 }
Ejemplo n.º 2
0
 public override void Shoot()
 {
     base.Shoot();
     currentState = new ShootState(details);
     currentState.Shoot();
 }