feat: added inventory showing
This commit is contained in:
@@ -18,7 +18,9 @@ public class Menu {
|
|||||||
"See your stats" ));
|
"See your stats" ));
|
||||||
switch (index) {
|
switch (index) {
|
||||||
case 0 -> {
|
case 0 -> {
|
||||||
|
for (Item item : game.getPlayer().getInventory()) {
|
||||||
|
System.out.println(item);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
case 1 -> {
|
case 1 -> {
|
||||||
for (Item building : game.getBuildings()) {
|
for (Item building : game.getBuildings()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user