| Safe Haskell | None |
|---|
Game.LambdaHack.Common.HighScore
Description
High score table operations.
- data ScoreTable
- empty :: ScoreTable
- register :: ScoreTable -> Int -> Time -> Status -> ClockTime -> Maybe (ScoreTable, Int)
- slideshow :: ScoreTable -> Int -> Status -> Slideshow
Documentation
Empty score table
Arguments
| :: ScoreTable | old table |
| -> Int | the total score. not halved yet |
| -> Time | game time spent |
| -> Status | reason of the game interruption |
| -> ClockTime | current date |
| -> Maybe (ScoreTable, Int) |
Register a new score in a score table.