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

.namespace GreenFirefly 

function OnEnable()
	self.Position_X = 320
	self.Position_Y = 100
	
	self.ColorEnd.r = 255
	self.ColorEnd.g = 255
	self.ColorEnd.b = 255
	self.ColorEnd.a = 0
	
	self.ColorMiddle.r = 191
	self.ColorMiddle.g = 249
	self.ColorMiddle.b = 119
	self.ColorMiddle.a = 144
	
	self.ColorStart.r = 255
	self.ColorStart.g = 255
	self.ColorStart.b = 255
	self.ColorStart.a = 0
	
	self.ScaleEnd_X = 0.1
	self.ScaleEnd_Y = 0.1
	
	self.ScaleMiddle_X = 0.5
	self.ScaleMiddle_Y = 0.5
	
	self.Image = "media/graph/visualeffects/spark.png"
	
	self.Lifetime = 10
	self.CreationPerSec = 5
	self.CreationRadius = 200
	
	self.Direction = 0
	self.DirectionDelta = 50
	
	self.Speed = 10
	
	self.Target_X = 0
	self.Target_Y = 0
	self.TargetRadius = 0
	self.TargetRelative = false
	
	self.TurnFactor = 0.1
end

