LambdaHack-0.2.14: A roguelike game engine in early development

Safe HaskellNone
LanguageHaskell2010

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

Methods

getState :: m State Source

getsState :: (State -> a) -> m a Source