java.lang.Object
be.yildizgames.common.application.helper.splashscreen.UpdateSplashScreen
be.yildizgames.common.application.helper.splashscreen.EmptySplashScreen
All Implemented Interfaces:
SplashScreen, UpdateDownloadListener

public class EmptySplashScreen extends UpdateSplashScreen
A splash screen implementation that does nothing. Used when no splash screen is needed.
Author:
Grégory Van den Borre
  • Constructor Details

    • EmptySplashScreen

      public EmptySplashScreen()
      Creates a new empty splash screen.
  • Method Details

    • display

      public final void display()
      Description copied from interface: SplashScreen
      Displays the splash screen.
    • close

      public final void close()
      Description copied from interface: SplashScreen
      Closes the splash screen.
    • setName

      public final void setName(String name)
      Description copied from interface: SplashScreen
      Sets the name to display on the splash screen.
      Parameters:
      name - the name to display
    • setProgress

      public final void setProgress(int percent)
      Description copied from interface: SplashScreen
      Sets the loading progress percentage to display.
      Parameters:
      percent - the progress percentage
    • setCurrentLoading

      public final void setCurrentLoading(String name)
      Description copied from interface: SplashScreen
      Sets the current loading task name to display.
      Parameters:
      name - the current loading task