diff options
author | Griffin Smith <root@gws.fyi> | 2019-12-01T03·43-0500 |
---|---|---|
committer | Griffin Smith <root@gws.fyi> | 2019-12-01T03·43-0500 |
commit | 65b1352ef2e463393d0504c32b73bdcf7c99491a (patch) | |
tree | 9bbd627db18babdeff099d7a248103e2148a93f8 /src/Xanthous/Game/Arbitrary.hs | |
parent | 71b628c604556bc2d829f12980db99c9a526ec84 (diff) |
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.
Diffstat (limited to 'src/Xanthous/Game/Arbitrary.hs')
-rw-r--r-- | src/Xanthous/Game/Arbitrary.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Xanthous/Game/Arbitrary.hs b/src/Xanthous/Game/Arbitrary.hs index 090eba634d4b..f4c83e005146 100644 --- a/src/Xanthous/Game/Arbitrary.hs +++ b/src/Xanthous/Game/Arbitrary.hs @@ -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 {..} |