Classes

developer »

gameProject »

pedestrianController »

playerPlatform »

punishment »

team »

Concepts

Libraries

Objects

getProgressData

Description

Abstract, returns the progress data of the fail state, in this case how close (or far) the player is to failing their objective.

Arguments

1 table targetTable

the table to fill the data into.

Example

function timeLimitFailState:getProgressData(targetTable)
	table.insert(targetTable, {text = _format(_T("TIME_LIMIT_FAILSTATE_TEXT", "TIME left to finish"), "TIME", timeline:getTimePeriodText(self.objective:getStartTime() + self.config.timeLimit - timeline.curTime)), icon = "objectives", iconColor = self.iconColor, description = self.description})
end