Safe Haskell | None |
---|---|
Language | Haskell2010 |
Game.LambdaHack.Common.MonadStateRead
Description
Game action monads and basic building blocks for human and computer player actions. Has no access to the the main action type.
Documentation
class (Monad m, Functor m) => MonadStateRead m where Source #
Instances
nUI :: MonadStateRead m => m Int Source #
factionCanEscape :: MonadStateRead m => FactionId -> m Bool Source #
getGameMode :: MonadStateRead m => m ModeKind Source #
getEntryArena :: MonadStateRead m => Faction -> m LevelId Source #