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

.namespace Wave

function OnEnable()
	self.Position_X = 200
	self.Position_Y = 480
	
	self.ColorEnd.r = 255
	self.ColorEnd.g = 255
	self.ColorEnd.b = 255
	self.ColorEnd.a = 0
	
	self.ColorMiddle.r = 186
	self.ColorMiddle.g = 216
	self.ColorMiddle.b = 246
	self.ColorMiddle.a = 154
	
	self.ColorStart.r = 255
	self.ColorStart.g = 255
	self.ColorStart.b = 255
	self.ColorStart.a = 0
	
	self.ScaleEnd_X = 0.5
	self.ScaleEnd_Y = 0.5
	
	self.ScaleMiddle_X = 12
	self.ScaleMiddle_Y = 0.3
	
	self.Image = "media/graph/visualeffects/spark.png"
	
	self.Lifetime = 8
	self.CreationPerSec = 10
	self.CreationRadius = 50
	
	self.Direction = 45
	self.DirectionDelta = 50
	
	self.Acceleration = 0
	self.Speed = 5
	
	self.Target_X = 640
	self.Target_Y = 500
	self.TargetRadius = 100
	self.TargetRelative = true
	
	self.TurnFactor = 0
end

