mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
- CheckStyle.
This commit is contained in:
@@ -310,7 +310,11 @@ public class FModel {
|
|||||||
return this.gameState;
|
return this.gameState;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** TODO: Needs to be reworked for efficiency with rest of prefs saves in codebase. */
|
/**
|
||||||
|
* TODO: Needs to be reworked for efficiency with rest of prefs saves in codebase.
|
||||||
|
*
|
||||||
|
* @return a boolean.
|
||||||
|
*/
|
||||||
public final boolean savePrefs() {
|
public final boolean savePrefs() {
|
||||||
final ForgePreferences fp = preferences;
|
final ForgePreferences fp = preferences;
|
||||||
final List<ViewField> fieldViews = Singletons.getView().getMatchView().getFieldViews();
|
final List<ViewField> fieldViews = Singletons.getView().getMatchView().getFieldViews();
|
||||||
@@ -354,7 +358,11 @@ public class FModel {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** TODO: Needs to be reworked for efficiency with rest of prefs loads in codebase. */
|
/**
|
||||||
|
* TODO: Needs to be reworked for efficiency with rest of prefs loads in codebase.
|
||||||
|
*
|
||||||
|
* @return a boolean.
|
||||||
|
*/
|
||||||
public final boolean loadPrefs() {
|
public final boolean loadPrefs() {
|
||||||
final ForgePreferences fp = Singletons.getModel().getPreferences();
|
final ForgePreferences fp = Singletons.getModel().getPreferences();
|
||||||
final List<ViewField> fieldViews = Singletons.getView().getMatchView().getFieldViews();
|
final List<ViewField> fieldViews = Singletons.getView().getMatchView().getFieldViews();
|
||||||
|
|||||||
Reference in New Issue
Block a user