//TODO - might be nicer to put this into the shoot state, along with a reference to the gun. //Though then do we keep the target in there too? Maybe that gets messier public void fireAtTarget() { if (Target != null) { turretGun.fire(getAngleToEnemy()); } }
public void fireSecondary(float aimAngle) { secondProjectileLauncher.fire(aimAngle); }
public void firePrimary(float aimAngle) { projectileLauncher.fire(aimAngle); }