chore: minor changes

This commit is contained in:
2025-05-25 14:23:36 +02:00
parent e429fcf26c
commit e8c658f288
4 changed files with 12 additions and 5 deletions

View File

@@ -85,6 +85,8 @@ public class Game {
if (pathType == PathType.MAIN_PATH) {
events.add(Events.ATTACK);
}
Cli.pressEnter();
}
public void build(Item item) {

View File

@@ -100,6 +100,8 @@ public class Menu {
}
}
case 3 -> {
game.getStrings().print("stats");
System.out.println();
game.getStrings().print("forestType", game.getForestType());
game.getStrings().print("soilType", game.getSoilType());
game.getStrings().print("pathType", game.getPathType());
@@ -107,6 +109,9 @@ public class Menu {
System.out.println();
game.getStrings().print("coins", game.getPlayer().getCoins());
System.out.println();
game.getStrings().print("forestSize", game.getForestType().getSize());
System.out.println();
Cli.pressEnter();
}
}
}

View File

@@ -30,14 +30,14 @@ public class Strings {
private String cantBeBuiltPub;
private String cantBeBuiltWinery;
private String cantBeBuiltCheeseFactory;
private String cantBeBoughtVillagerHouse;
private String cantBeBoughtAll;
private String cantBuild;
private String cantCutTrees;
private String cantMilkCows;
private String cantProduce;
private String cantSell;
private String cantBuy;
private String forestSize;
private String stats;
/**