From abea2dcfac0e094bf4ce0d378763af7816b04501 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Sat, 28 Sep 2019 15:01:21 -0400 Subject: 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. --- src/Xanthous/Game.hs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Xanthous/Game.hs') 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 -- cgit 1.4.1