Keep inventory as intmap, start to allow items of different sizes
This commit is contained in:
+1
-2
@@ -20,7 +20,7 @@ keyToken n = defaultEquipment
|
||||
, _itID = Nothing
|
||||
-- , _itZoom = defaultItZoom
|
||||
, _itInvColor = yellow
|
||||
, _itInvDisplay = _itName
|
||||
, _itInvDisplay = (:[]) . _itName
|
||||
}
|
||||
keyPic :: Picture
|
||||
keyPic = color green $
|
||||
@@ -41,7 +41,6 @@ latchkey n = defaultEquipment
|
||||
, _itID = Nothing
|
||||
-- , _itZoom = defaultItZoom
|
||||
, _itInvColor = yellow
|
||||
, _itInvDisplay = _itName
|
||||
}
|
||||
latchkeyPic :: Picture
|
||||
latchkeyPic = color yellow $
|
||||
|
||||
Reference in New Issue
Block a user