--[[ script de définition de la classe Fish1 --]]

.namespace Fish1

function OnEnable()
	self.Position_X = 640
	self.Position_Y = 200
	
	self.ColorEnd.r = 40
	self.ColorEnd.g = 122
	self.ColorEnd.b = 152
	self.ColorEnd.a = 0
	
	self.ColorMiddle.r = 170
	self.ColorMiddle.g = 228
	self.ColorMiddle.b = 241
	self.ColorMiddle.a = 188
	
	self.ColorStart.r = 255
	self.ColorStart.g = 255
	self.ColorStart.b = 255
	self.ColorStart.a = 0
	
	self.ScaleEnd_X = 0.3
	self.ScaleEnd_Y = 0.3
	
	self.ScaleMiddle_X = 0.5
	self.ScaleMiddle_Y = 0.5
	
	self.Image = "media/graph/visualeffects/fish1.png"
	
	self.Lifetime = 20
	self.CreationPerSec = 0.1
	self.CreationRadius = 100
	
	self.Direction = 200
	self.DirectionDelta = 5
	
	self.Acceleration = 1
	self.Speed = 10
	
	self.Target_X = 0
	self.Target_Y = 480
	self.TargetRadius = 100
	self.TargetRelative = true
	
	self.TurnFactor = 0.05
end

