-- ================================================================================
-- PUBLIC FUNCTIONS
-- ================================================================================

function GuiController:UpdateSpeed()

end -- GuiController:UpdateSpeed()

function GuiController:Start(s)
	speeder = s
	primary = speeder.PrimaryPart
	engine = speeder.engine
	
	-- Boost bar and button
	BoostSetup(function(boost)
		self.Boost = boost
	end)
	
	-- Control thumbstick:
	ThumbstickSetup(gui:WaitForChild("ThumbstickLeft"), function(x, y)
		self.Yaw = x * MOBILE_DAMP
		self.Pitch = y * MOBILE_DAMP
	end)
end -- GuiController:Start()

function GuiController:Stop()
	
end -- GuiController:Stop