LambdaHack-0.2.6.5: A roguelike game engine in early and active development

Safe HaskellNone

Game.LambdaHack.Action.HighScore

Description

High score table operations.

Synopsis

Documentation

registerSource

Arguments

:: ConfigUI

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 (Msg, [Overlay]) 

Take care of saving a new score to the table and return a list of messages to display.