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.
This commit is contained in:
Griffin Smith 2019-09-28 15:01:21 -04:00
parent 1a0f618a82
commit abea2dcfac
7 changed files with 52 additions and 10 deletions

View file

@ -24,4 +24,5 @@ instance Arbitrary GameState where
_revealedPositions <- fmap setFromList . sublistOf $ EntityMap.positions _entities
_randomGen <- mkStdGen <$> arbitrary
let _promptState = NoPrompt -- TODO
_debugState <- arbitrary
pure $ GameState {..}