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
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClientFramework
gets the ClientFrameworkstatic SoundSystemFacade
getSound()
gets the sound systemstatic UserInterface
gets the user interfacestatic void
setClientFramework(ClientFramework clientFramework)
sets the ClientFrameworkstatic void
setUserInterface(UserInterface userInterface)
sets the user interface
-
Constructor Details
-
ClientSingletonRepository
public ClientSingletonRepository()
-
-
Method Details
-
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
-
getSound
gets the sound system- Returns:
- SoundSystemFacade
-