Safe Haskell | None |
---|---|
Language | Haskell2010 |
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 #
getState :: MonadStateRead m => m State Source #
nUI :: MonadStateRead m => m Int Source #
getGameMode :: MonadStateRead m => m ModeKind Source #
isNoConfirmsGame :: MonadStateRead m => m Bool Source #
getEntryArena :: MonadStateRead m => Faction -> m LevelId Source #
pickWeaponM :: MonadStateRead m => Maybe DiscoveryBenefit -> [(ItemId, ItemFull)] -> Skills -> ActorAspect -> ActorId -> m [(Int, (ItemId, ItemFull))] Source #