Safe Haskell | None |
---|
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
Typeclass for every monad that saves stats
calcStat :: (MonadPlayer m, ChAtoms m, MonadRoom m) => StatKey -> m IntSource
Calculates the stats of the objects the player carries
totalStereo :: (ChAtoms m, MonadPlayer m, MonadRoom m) => m PlayerStereoSource
Calculates the total stereotype the player carries