swarm-0.6.0.0: 2D resource gathering game with programmable robots
LicenseBSD-3-Clause
Safe HaskellSafe-Inferred
LanguageHaskell2010

Swarm.TUI.Controller.SaveScenario

Description

Collection of functions used to save the scenario metadata.

Synopsis

Documentation

saveScenarioInfoOnFinishNocheat :: (MonadIO m, MonadState AppState m) => m () Source #

Write the ScenarioInfo out to disk when finishing a game (i.e. on winning or exit).

saveScenarioInfoOnQuit :: (MonadIO m, MonadState AppState m) => m () Source #

Write the ScenarioInfo out to disk when exiting a game.