--[[
    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
