package net.phatcode.rel;

import net.phatcode.rel.Turret.BulletInfo;

public class TurretFireBehaviorRing extends TurretBehavior
{

	@Override
	public void update( Turret turret, BulletFactory bulletFactory )
	{
	
		BulletInfo bp = turret.getBulletInfo();
				
		bulletFactory.spawnRing( 
				turret.position,
				bp.gravity,
				bp.target,
				turret.angle, 
				bp.speed, 
				bp.acceleration, 
				bp.stopCounter,
				bp.goCounter,
				bp.aim,
				bp.seekPlayer,
				bp.animator, 
				bp.behavior, 
				bp.nextBehavior, 
				bp.aabbSize, 
				turret.numBullets + turret.waveOffset, 
				turret.xRadius, 
				turret.yRadius,
				turret.speedDelta,
				turret.sectorLength,
				turret.symmetrical );

	}
	
}
