Display inventory menu next to the merchant menu

This commit is contained in:
Yohann D'ANELLO 2020-12-17 23:46:20 +01:00
parent 3f62fbaa2b
commit a5890a341d

View File

@ -104,7 +104,11 @@ class DisplayManager:
self.storeinventorydisplay.refresh(
self.rows // 10, self.cols // 2,
8 * self.rows // 10, 2 * self.cols // 5)
self.playerinventorydisplay.refresh(
self.rows // 10, self.cols // 10,
8 * self.rows // 10, 2 * self.cols // 5)
displays.append(self.storeinventorydisplay)
displays.append(self.playerinventorydisplay)
elif self.game.state == GameMode.MAINMENU:
self.mainmenudisplay.refresh(0, 0, self.rows, self.cols)
displays.append(self.mainmenudisplay)