Package games.stendhal.client
Class ClientSingletonRepository
java.lang.Object
games.stendhal.client.ClientSingletonRepository
keeps instances of singletons that may depend on the context
- Author:
- hendrik
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ChatTextControllerRetrieves the chat input interface.static ClientFrameworkgets the ClientFrameworkstatic EmojiStoreEmoji sprites data.static ScreenControllerGets the screen controller.static SoundSystemFacadegetSound()gets the sound systemstatic SpriteStorestatic UserInterfacegets the user interfacestatic voidsetClientFramework(ClientFramework clientFramework) sets the ClientFrameworkstatic voidsetUserInterface(UserInterface userInterface) sets the user interface
-
Constructor Details
-
ClientSingletonRepository
public ClientSingletonRepository()
-
-
Method Details
-
getChatTextController
Retrieves the chat input interface.- Returns:
- `ChatTextController` singleton instance.
-
getClientFramework
gets the ClientFramework- Returns:
- ClientFramework
-
setClientFramework
sets the ClientFramework- Parameters:
clientFramework- ClientFramework
-
getUserInterface
gets the user interface- Returns:
- UserInterface
-
setUserInterface
sets the user interface- Parameters:
userInterface- UserInterface
-
getScreenController
Gets the screen controller.- Returns:
- ScreenController instance.
-
getSound
gets the sound system- Returns:
- SoundSystemFacade
-
getSpriteStore
-
getEmojiStore
Emoji sprites data.
-