Add a very basic inventory panel

Add a very basic inventory panel to the game opened by pressing `i`,
which displays the contents of the player's inventory in a basic list.
This commit is contained in:
Griffin Smith 2019-11-30 22:43:17 -05:00
parent 71b628c604
commit 65b1352ef2
8 changed files with 79 additions and 39 deletions

View file

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