Safe Haskell | None |
---|---|
Language | Haskell2010 |
Provides utility functions for dealing with stats and stereotypes
- class HasStats s where
- class HasStatsM m where
- calcStat :: (MonadPlayer m, ChAtoms m, MonadRoom m) => StatKey -> m Int
- totalStereo :: (ChAtoms m, MonadPlayer m, MonadRoom m) => m PlayerStereo
Documentation
Typeclass for every pure data that saves stats
class HasStatsM m where Source
Typeclass for every monad that saves stats
calcStat :: (MonadPlayer m, ChAtoms m, MonadRoom m) => StatKey -> m Int Source
Calculates the stats of the objects the player carries
totalStereo :: (ChAtoms m, MonadPlayer m, MonadRoom m) => m PlayerStereo Source
Calculates the total stereotype the player carries