swarm-0.3.0.0: 2D resource gathering game with programmable robots
Safe HaskellSafe-Inferred
LanguageHaskell2010

Swarm.TUI.Model.Achievement.Persistence

Synopsis

Documentation

getSwarmAchievementsPath :: Bool -> IO FilePath Source #

Get path to swarm achievements, optionally creating necessary directories.

loadAchievementsInfo :: IO ([SystemFailure], [Attainment]) Source #

Load saved info about achievements from XDG data directory. Returns a tuple of warnings and attained achievements.

saveAchievementsInfo :: [Attainment] -> IO () Source #

Save info about achievements to XDG data directory.