feat: started play function
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user