feat: added inventory showing

This commit is contained in:
2025-05-21 10:51:35 +02:00
parent e603d9452c
commit adc0edf95e

View File

@@ -18,7 +18,9 @@ public class Menu {
"See your stats" ));
switch (index) {
case 0 -> {
for (Item item : game.getPlayer().getInventory()) {
System.out.println(item);
}
}
case 1 -> {
for (Item building : game.getBuildings()) {