public void SpecialAttack()
 {
     if (specialWeapon != null)
     {
         specialWeapon.Activate();
     }
 }
 public void BasicAttack()
 {
     if (weapon1 != null)
     {
         weapon1.Activate();
     }
     if (weapon2 != null)
     {
         weapon2.Activate();
     }
 }
Example #3
0
 public virtual void ActivateWeapon(Vector2 aim)
 {
     playerAnimation.Throw();
     currentWeapon.Activate(Core.Id, transform.position, aim);
 }