diff options
author | Griffin Smith <root@gws.fyi> | 2019-09-28T19·01-0400 |
---|---|---|
committer | Griffin Smith <root@gws.fyi> | 2019-09-28T19·03-0400 |
commit | abea2dcfac0e094bf4ce0d378763af7816b04501 (patch) | |
tree | fbe772353869571b85c4d73227e642c47acd0f28 /src/Xanthous/Game.hs | |
parent | 1a0f618a829ec356e29176c77ea90a8a5a0157b4 (diff) |
Add debug command to reveal the game
Add a (debug) command to reveal all tiles on the game regardless of the character's vision, which'll make it easier to debug creature's behavior while they're not visible.
Diffstat (limited to 'src/Xanthous/Game.hs')
-rw-r--r-- | src/Xanthous/Game.hs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Xanthous/Game.hs b/src/Xanthous/Game.hs index 278e3d8ff4cc..ffbeddb29d1a 100644 --- a/src/Xanthous/Game.hs +++ b/src/Xanthous/Game.hs @@ -21,6 +21,11 @@ module Xanthous.Game -- * App monad , AppT(..) + + -- * Debug State + , DebugState(..) + , debugState + , allRevealed ) where -------------------------------------------------------------------------------- import Xanthous.Game.State |