Display inventory menu next to the merchant menu
This commit is contained in:
parent
3f62fbaa2b
commit
a5890a341d
|
@ -104,7 +104,11 @@ class DisplayManager:
|
||||||
self.storeinventorydisplay.refresh(
|
self.storeinventorydisplay.refresh(
|
||||||
self.rows // 10, self.cols // 2,
|
self.rows // 10, self.cols // 2,
|
||||||
8 * self.rows // 10, 2 * self.cols // 5)
|
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.storeinventorydisplay)
|
||||||
|
displays.append(self.playerinventorydisplay)
|
||||||
elif self.game.state == GameMode.MAINMENU:
|
elif self.game.state == GameMode.MAINMENU:
|
||||||
self.mainmenudisplay.refresh(0, 0, self.rows, self.cols)
|
self.mainmenudisplay.refresh(0, 0, self.rows, self.cols)
|
||||||
displays.append(self.mainmenudisplay)
|
displays.append(self.mainmenudisplay)
|
||||||
|
|
Loading…
Reference in New Issue