| Safe Haskell | None |
|---|
Game.LambdaHack.Action.HighScore
Description
High score table operations.
Documentation
Arguments
| :: CP | the config file |
| -> Bool | whether to write or only render |
| -> Int | the total score. not halved yet |
| -> Time | game time spent |
| -> ClockTime | date of the last game interruption |
| -> Status | reason of the game interruption |
| -> IO (String, [Overlay]) |
Take care of saving a new score to the table and return a list of messages to display.