function VehicleLightsComponent.new(e)local X={model=e;state={headLights=false,brakeLights=false}}setmetatable(X,{__index=VehicleLightsComponent})X:setup()return X end

function VehicleLightsComponent.new(model)
	local component = {
		model = model,
		state = {
			headLights = false,
			brakeLights = false
		}
	}
	setmetatable(component, {__index = VehicleLightsComponent})

	component:setup()

	return component
end
