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

.namespace Plankton

function OnEnable()
	self.Position_X = 320
	self.Position_Y = 240
	
	self.ColorEnd.r = 255
	self.ColorEnd.g = 255
	self.ColorEnd.b = 255
	self.ColorEnd.a = 0
	
	self.ColorMiddle.r = 120
	self.ColorMiddle.g = 187
	self.ColorMiddle.b = 249
	self.ColorMiddle.a = 144
	
	self.ColorStart.r = 255
	self.ColorStart.g = 255
	self.ColorStart.b = 255
	self.ColorStart.a = 0
	
	self.ScaleEnd_X = 0.2
	self.ScaleEnd_Y = 0.2
	
	self.ScaleMiddle_X = 0.2
	self.ScaleMiddle_Y = 0.2
	
	self.Image = "media/graph/visualeffects/spark.png"
	
	self.Lifetime = 30
	self.CreationPerSec = 10
	self.CreationRadius = 200
	
	self.Direction = 0
	self.DirectionDelta = 360
	
	self.Acceleration = 0
	self.Speed = 10
	
	self.Target_X = 0
	self.Target_Y = 0
	self.TargetRadius = 0
	self.TargetRelative = false
	
	self.TurnFactor = 360
end

