Class StyleManager

java.lang.Object
com.shr4pnel.casino.style.StyleManager

public class StyleManager extends Object
Handles the active skin, as well as initialisation and loading of all skin-related assets
Since:
0.1.0
  • 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?