Class ClientSingletonRepository

java.lang.Object
games.stendhal.client.ClientSingletonRepository

public class ClientSingletonRepository extends Object
keeps instances of singletons that may depend on the context
Author:
hendrik
  • Constructor Details

    • ClientSingletonRepository

      public ClientSingletonRepository()
  • Method Details

    • getClientFramework

      public static ClientFramework getClientFramework()
      gets the ClientFramework
      Returns:
      ClientFramework
    • setClientFramework

      public static void setClientFramework(ClientFramework clientFramework)
      sets the ClientFramework
      Parameters:
      clientFramework - ClientFramework
    • getUserInterface

      public static UserInterface getUserInterface()
      gets the user interface
      Returns:
      UserInterface
    • setUserInterface

      public static void setUserInterface(UserInterface userInterface)
      sets the user interface
      Parameters:
      userInterface - UserInterface
    • getSound

      public static SoundSystemFacade getSound()
      gets the sound system
      Returns:
      SoundSystemFacade