--[[
Runs the fire animation.
--]]

function EggCreator:PlayLaunchAnimation()
	--Launch the arm.
	ReleaseMotor.DesiredAngle = 3
	wait(ANIMATION_TIME)
	Egg.Transparency = 1

	--Delay the animation.
	wait(ANIMATION_DELAY_TIME)
	
	--Reset the arm.
	ReleaseMotor.DesiredAngle = 0
	wait(ANIMATION_TIME)
	
	--Reset the egg.
	wait(RELOAD_TIME - (2* ANIMATION_TIME) - ANIMATION_DELAY_TIME)
	Egg.Transparency = 0	
end



return EggCreator
