function RaceModule.SetStartCheckpoint(M,o)startCheckpoint=getCheckpointFromPart(o)end function RaceModule.GetStartCheckpoint(o)return startCheckpoint end function RaceModule.SetFinishCheckpoint(M,o)finishCheckpoint=getCheckpointFromPart(o)end function RaceModule.GetFinishCheckpoint(o)return finishCheckpoint end function RaceModule.SetNumLaps(M,o)numLaps=o end function RaceModule.GetNumLaps(o)return numLaps end function RaceModule.SetRaceDuration(M,o)raceDuration=o end function RaceModule.GetRaceDuration(o)return raceDuration end function RaceModule.SetDebugEnabled(M,o)debugEnabled=o end function RaceModule.GetDebugEnabled(o)return debugEnabled end function RaceModule.SetRaceStatus(M,o)RaceModule.RaceStatus.Value=o end function RaceModule.GetRaceStatus(o)return RaceModule.RaceStatus.Value end
-- ================================================================================
-- GETTER/SETTER FUNCTIONS
-- ================================================================================
function RaceModule:SetStartCheckpoint(checkpoint)
	startCheckpoint = getCheckpointFromPart(checkpoint)
end -- RaceModule:SetStartCheckpoint()

function RaceModule:GetStartCheckpoint()
	return startCheckpoint
end -- RaceModule:GetStartCheckpoint()

function RaceModule:SetFinishCheckpoint(checkpoint)
	finishCheckpoint = getCheckpointFromPart(checkpoint)
end -- RaceModule:SetFinishCheckpoint()

function RaceModule:GetFinishCheckpoint()
	return finishCheckpoint
end -- RaceModule:GetFinishCheckpoint()

function RaceModule:SetNumLaps(number)
	numLaps = number
end -- RaceModule:SetNumLaps()

function RaceModule:GetNumLaps()
	return numLaps
end -- RaceModule:GetNumLaps()

function RaceModule:SetRaceDuration(duration)
	raceDuration = duration
end -- RaceModule:SetRaceDuration()

function RaceModule:GetRaceDuration()
	return raceDuration
end -- RaceModule:GetRaceDuration()

function RaceModule:SetDebugEnabled(enabled)
	debugEnabled = enabled
end -- RaceModule:SetDebugEnabled()

function RaceModule:GetDebugEnabled()
	return debugEnabled
end -- RaceModule:GetDebugEnabled()

function RaceModule:SetRaceStatus(status)
	RaceModule.RaceStatus.Value = status
end -- RaceModule:SetRaceStatus()

function RaceModule:GetRaceStatus()
	return RaceModule.RaceStatus.Value
end -- RaceModule:GetRaceStatus()
