fix: make GameState accessible for ai
This commit is contained in:
parent
7fffe2efbb
commit
1dabd1d25d
@ -119,6 +119,10 @@ public class GameInstance {
|
||||
manager.applyEvent(gameStateEvent);
|
||||
}
|
||||
|
||||
public GameState getGameStateUnsafe() {
|
||||
return _state;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return _state.toString();
|
||||
|
@ -14,7 +14,7 @@ import java.util.Arrays;
|
||||
import java.util.HashSet;
|
||||
|
||||
/** Represents the state of a game instance. */
|
||||
class GameState {
|
||||
public class GameState {
|
||||
/** The size of the map */
|
||||
public final IntVector2 mapSize;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user