de.palmmedia.yahtzee
Class Globals
java.lang.Object
de.palmmedia.yahtzee.Globals
public final class Globals
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SHOW_HIGHSCORES
public static final String SHOW_HIGHSCORES
- See Also:
- Constant Field Values
soundEnabled
private static boolean soundEnabled
gameContext
private static GameContext gameContext
- The game context of the current game.
Program Activity -> Game Activity
results
private static List<Result> results
- The list of highscores.
Game Activity -> Results Activity
Globals
public Globals()
isSoundEnabled
public static boolean isSoundEnabled()
setSoundEnabled
public static void setSoundEnabled(boolean soundEnabled)
getGameContext
public static GameContext getGameContext()
setGameContext
public static void setGameContext(GameContext gameContext)
getResults
public static List<Result> getResults()
- Returns:
setResults
public static void setResults(List<Result> results)