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

    • getChatTextController

      public static ChatTextController getChatTextController()
      Retrieves the chat input interface.
      Returns:
      `ChatTextController` singleton instance.
    • 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
    • getScreenController

      public static ScreenController getScreenController()
      Gets the screen controller.
      Returns:
      ScreenController instance.
    • getSound

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

      public static SpriteStore getSpriteStore()
    • getEmojiStore

      public static EmojiStore getEmojiStore()
      Emoji sprites data.