Package games.stendhal.client.gui
Interface UserInterface
- All Known Implementing Classes:
j2DClient
public interface UserInterface
- Author:
- hendrik
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddAchievementBox(String title, String description, String category) Display a box for a reached achievementvoidaddEventLine(EventLine line) Add an event line to the chat log.voidaddGameScreenText(double x, double y, String text, NotificationType type, boolean isTalking) Deprecated.voidaddGameScreenText(Entity entity, String text, NotificationType type, boolean isTalking) Deprecated.gets the sound systembooleanare debug messages enabled?voidtoggle debug messages
-
Method Details
-
addEventLine
Add an event line to the chat log.- Parameters:
line- event line
-
addGameScreenText
@Deprecated void addGameScreenText(double x, double y, String text, NotificationType type, boolean isTalking) Deprecated.adds a text box on the screen- Parameters:
x- xy- ytext- text to displaytype- type of textisTalking- chat?
-
addGameScreenText
@Deprecated void addGameScreenText(Entity entity, String text, NotificationType type, boolean isTalking) Deprecated.Adds a text box on the screen.- Parameters:
entity- Entity that text bubble will follow.text- Text to display.type- Type of text.isTalking- Chat?
-
addAchievementBox
Display a box for a reached achievement- Parameters:
title- the title of the achievementdescription- the description of the achievementcategory- the category of the achievement
-
getSoundSystemFacade
SoundSystemFacade getSoundSystemFacade()gets the sound system- Returns:
- SoundSystemFacade
-
isDebugEnabled
boolean isDebugEnabled()are debug messages enabled?- Returns:
- true, if debug messages are enabled; false otherwise
-
toggleDebugEnabled
void toggleDebugEnabled()toggle debug messages
-