Package games.stendhal.client.gui
Interface J2DClientGUI
public interface J2DClientGUI
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddAchievementBox(String title, String description, String category) voidvoidaddGameScreenText(double x, double y, String text, NotificationType type, boolean isTalking) Deprecated.voidaddGameScreenText(Entity entity, String text, NotificationType type, boolean isTalking) Deprecated.voidvoidvoidgetFrame()Get the objects that should be informed about user position changes.booleanvoidrequestQuit(StendhalClient client) voidResets the clients width and height to their default values.voidsetChatLine(String text) voidsetOffline(boolean offline) voidswitchToSpellState(RPObject spell) voidRequests repaint at the window areas that are painted according to the game loop frame rate.voidupdateUser(User user)
-
Method Details
-
addDialog
-
addAchievementBox
-
addGameScreenText
@Deprecated void addGameScreenText(double x, double y, String text, NotificationType type, boolean isTalking) Deprecated. -
addGameScreenText
@Deprecated void addGameScreenText(Entity entity, String text, NotificationType type, boolean isTalking) Deprecated. -
afterPainting
void afterPainting() -
beforePainting
void beforePainting() -
chooseOutfit
void chooseOutfit() -
getPositionChangeListeners
Collection<PositionChangeListener> getPositionChangeListeners()Get the objects that should be informed about user position changes.- Returns:
-
getFrame
JFrame getFrame() -
isOffline
boolean isOffline() -
resetClientDimensions
void resetClientDimensions()Resets the clients width and height to their default values. -
requestQuit
-
setChatLine
-
setOffline
void setOffline(boolean offline) -
switchToSpellState
-
triggerPainting
void triggerPainting()Requests repaint at the window areas that are painted according to the game loop frame rate. -
updateUser
-