-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate all enums from Settings class into SettingsUtils.
- Loading branch information
Showing
4 changed files
with
41 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
src/main/java/world/bentobox/challenges/config/SettingsUtils.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// | ||
// Created by BONNe | ||
// Copyright - 2019 | ||
// | ||
|
||
|
||
package world.bentobox.challenges.config; | ||
|
||
|
||
/** | ||
* This class holds all enums that are used in Settings class. | ||
*/ | ||
public class SettingsUtils | ||
{ | ||
/** | ||
* This enum holds all possible values for Gui Opening for users. | ||
*/ | ||
public enum GuiMode | ||
{ | ||
/** | ||
* Opens user GUI with list of all GameModes. | ||
*/ | ||
GAMEMODE_LIST, | ||
/** | ||
* Opens user GUI with challenges in given world. | ||
*/ | ||
CURRENT_WORLD | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters