Safe Haskell | None |
---|
Saving and restoring server game state.
Documentation
saveToChan :: ChanSave a -> a -> IO ()Source
restoreGame :: Binary a => String -> [(FilePath, FilePath)] -> (FilePath -> IO FilePath) -> IO (Maybe a)Source
Restore a saved game, if it exists. Initialize directory structure and cope over data files, if needed.
delayPrint :: Text -> IO ()Source