cleanup: optimize imports, remove unused code, fix warnings
This commit is contained in:
@ -45,6 +45,8 @@ public class GameInstance {
|
||||
|
||||
result.addAll(result2);
|
||||
|
||||
result.add(GameLogic.buildGameStateEvent(_state));
|
||||
|
||||
return Optional.of(result);
|
||||
}
|
||||
|
||||
@ -102,6 +104,10 @@ public class GameInstance {
|
||||
manager.applyEvents(events);
|
||||
}
|
||||
|
||||
protected GameState getState() {
|
||||
return _state;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
Reference in New Issue
Block a user