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:
parent
71b628c604
commit
65b1352ef2
8 changed files with 79 additions and 39 deletions
|
|
@ -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 {..}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue