function VehicleLightsComponent.new(A)local r={model=A;state={headLights=false,brakeLights=false}}setmetatable(r,{__index=VehicleLightsComponent})r:setup()return r end
--[[
    Creates a new controller associated with the specified vehicle.
]]
function VehicleLightsComponent.new(model)
	local component = {
		model = model,
		state = {
			headLights = false,
			brakeLights = false,
		},
	}
	setmetatable(component, { __index = VehicleLightsComponent })

	component:setup()

	return component
end
