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

.namespace Bubble

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 = 255
	self.ColorMiddle.g = 255
	self.ColorMiddle.b = 255
	self.ColorMiddle.a = 255
	
	self.ColorStart.r = 43
	self.ColorStart.g = 85
	self.ColorStart.b = 88
	self.ColorStart.a = 0
	
	self.ScaleEnd_X = 0.4
	self.ScaleEnd_Y = 0.4
	
	self.ScaleMiddle_X = 0.1
	self.ScaleMiddle_Y = 0.1
	
	self.Image = "media/graph/visualeffects/bulle.png"
	
	self.Lifetime = 4.8
	self.CreationPerSec = 10
	self.CreationRadius = 20
	
	self.Direction = 0
	self.DirectionDelta = 2
	
	self.Acceleration = 50
	self.Speed = 0
	
	self.Target_X = 0
	self.Target_Y = -960
	self.TargetRadius = 0
	self.TargetRelative = false
	
	self.TurnFactor = 10
end

