mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +00:00
Further semantic organization: Moved getGameInfo out of AllZone, into FModel.
getGameInfo returns a GameSummary object, so it has been renamed to getGameSummary.
This commit is contained in:
@@ -34,6 +34,7 @@ import forge.Constant;
|
||||
import forge.ConstantStringArrayList;
|
||||
import forge.FileUtil;
|
||||
import forge.HttpUtil;
|
||||
import forge.game.GameSummary;
|
||||
import forge.gui.input.InputControl;
|
||||
import forge.properties.ForgePreferences;
|
||||
import forge.properties.ForgeProps;
|
||||
@@ -297,6 +298,11 @@ public class FModel {
|
||||
return this.gameState;
|
||||
}
|
||||
|
||||
/** @return {@link forge.game.GameSummary} */
|
||||
public final GameSummary getGameSummary() {
|
||||
return this.gameState.getGameSummary();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create and return a new game state.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user