LambdaHack-0.6.2.0: A game engine library for roguelike dungeon crawlers

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 main action type.

Documentation

class (Monad m, Functor m, Applicative m) => MonadStateRead m where Source #

Minimal complete definition

getsState

Methods

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