feat: started play function

This commit is contained in:
2025-05-11 13:16:11 +02:00
parent 35647d76b5
commit 7fd6b413e4
2 changed files with 6 additions and 1 deletions

View File

@@ -31,6 +31,10 @@ public class Game {
@Getter @Getter
private Market market; private Market market;
public void play() {
generateStats();
}
public void generateStats() { public void generateStats() {
forestType = ForestType.getRandom(); forestType = ForestType.getRandom();
System.out.println("forest: " + forestType); System.out.println("forest: " + forestType);

View File

@@ -2,6 +2,7 @@ package cz.jull;
public class Main { public class Main {
public static void main(String[] args) { public static void main(String[] args) {
Game game = new Game();
game.play();
} }
} }