diff options
author | Griffin Smith <grfn@gws.fyi> | 2021-11-21T14·54-0500 |
---|---|---|
committer | grfn <grfn@gws.fyi> | 2021-11-22T19·12+0000 |
commit | 95ee86225b7b858ae6c2438211e934ee4db66222 (patch) | |
tree | 3c594e16cc44dae7e4b67ac38ae481e3305d6962 /users/grfn/xanthous/src/Xanthous/Game | |
parent | 3a01398672d50aa768f926776cb04ef6f5f6f75e (diff) |
refactor(gs/xanthous): Break out inventory into a common module r/3081
Creatures are going to have an inventory too now in addition to characters, so all the data types and lenses and stuff that define inventory need to be broken out into a separate module so the Creature entity can use them. Change-Id: I83f1c70d316afaaf2e75901f9dc28f79fd2cd31f Reviewed-on: https://cl.tvl.fyi/c/depot/+/3901 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi>
Diffstat (limited to 'users/grfn/xanthous/src/Xanthous/Game')
-rw-r--r-- | users/grfn/xanthous/src/Xanthous/Game/Draw.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/users/grfn/xanthous/src/Xanthous/Game/Draw.hs b/users/grfn/xanthous/src/Xanthous/Game/Draw.hs index 5b51ca67292b..53ea1c96f8af 100644 --- a/users/grfn/xanthous/src/Xanthous/Game/Draw.hs +++ b/users/grfn/xanthous/src/Xanthous/Game/Draw.hs @@ -17,6 +17,7 @@ import Xanthous.Data.App (ResourceName, Panel(..)) import qualified Xanthous.Data.App as Resource import qualified Xanthous.Data.EntityMap as EntityMap import Xanthous.Game.State +import Xanthous.Entities.Common (Wielded(..), wielded, backpack) import Xanthous.Entities.Character import Xanthous.Entities.Item (Item) import Xanthous.Game |