Class engine.HighScores
Define high score table support
This will eventually actually generate a GUI table and handle
filtering etc but for now it just generates a text string which
represents the list of high scores.
Methods
engine.HighScores:registerScore (world, details)
register a highscore against a campaign
engine.HighScores:noteLivingScore (world, name, details)
scores of living players are stored against their name register a highscore against a campaign
engine.HighScores:clearLivingScore (world, name)
and should be removed when the char dies
engine.HighScores:createHighScoreTable (world, formatters)
Format the highscore table as a string
Methods
- engine.HighScores:registerScore (world, details)
-
register a highscore against a campaign
Parameters:
- engine.HighScores:noteLivingScore (world, name, details)
-
scores of living players are stored against their name
register a highscore against a campaign
Parameters:
- engine.HighScores:clearLivingScore (world, name)
-
and should be removed when the char dies
Parameters:
- engine.HighScores:createHighScoreTable (world, formatters)
-
Format the highscore table as a string
Parameters: