about summary refs log blame commit diff
path: root/src/Xanthous/Game.hs
blob: 2b346ace56314e7c2611b1b17a5e8118dafa5b4e (plain) (tree)
1
2
3
4
5
6
7
8
9

                    
            
                     

                  

                       
 
                   



                       
                         


                      

               
 



                   

                  




                    
         
                                                                                


                                 
module Xanthous.Game
  ( GameState(..)
  , entities
  , revealedPositions
  , messageHistory
  , randomGen
  , promptState
  , GamePromptState(..)

  , getInitialState

  , positionedCharacter
  , character
  , characterPosition
  , updateCharacterVision

  , MessageHistory(..)
  , pushMessage
  , popMessage
  , hideMessage

    -- * Collisions
  , Collision(..)
  , collisionAt

    -- * App monad
  , AppT(..)

    -- * Debug State
  , DebugState(..)
  , debugState
  , allRevealed
  ) where
--------------------------------------------------------------------------------
import Xanthous.Game.State
import Xanthous.Game.Lenses
import Xanthous.Game.Arbitrary ()