Package com.shr4pnel.casino.style
Class StyleManager
java.lang.Object
com.shr4pnel.casino.style.StyleManager
Handles the active skin, as well as initialisation and loading of all skin-related assets
- Since:
- 0.1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic booleanstatic com.badlogic.gdx.scenes.scene2d.ui.SkingetSkin()static voidsetPostProcessingEnabled(boolean enabled) Sets post processing to on/off
-
Constructor Details
-
StyleManager
public StyleManager()
-
-
Method Details
-
getSkin
public static com.badlogic.gdx.scenes.scene2d.ui.Skin getSkin()- Returns:
- The active skin
-
getPostProcessingEnabled
public static boolean getPostProcessingEnabled()- Returns:
- true/false, depending on if post processing is enabled
-
getPostProcessingDisabled
public static boolean getPostProcessingDisabled()- Returns:
- true/false, depending on if post processing is disabled
-
setPostProcessingEnabled
public static void setPostProcessingEnabled(boolean enabled) Sets post processing to on/off- Parameters:
enabled- Should post processing be enabled?
-