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

.namespace Leaf
function OnEnable()
	self.Position_X = 320
	self.Position_Y = 0
	
	self.ColorEnd.a = 0
	self.ColorMiddle.a = 255
	self.ColorStart.a = 0
	
	self.Image = "media/graph/visualeffects/leaf1.png"
	
	self.Lifetime = 30
	self.CreationPerSec = 0.4
	self.CreationRadius = 400
	
	self.Direction = 0
	self.DirectionDelta = 30
	
	self.Speed = 20
	
	self.Target_X = 0
	self.Target_Y = 500
	self.TargetRadius = 50
	self.TargetRelative = true
	
	self.TurnFactor = 100
end

