Package games.stendhal.client.gui
Interface J2DClientGUI
public interface J2DClientGUI
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAchievementBox(String title, String description, String category)
void
void
addGameScreenText(double x, double y, String text, NotificationType type, boolean isTalking)
void
void
void
getFrame()
Get the objects that should be informed about user position changes.boolean
void
requestQuit(StendhalClient client)
void
Resets the clients width and height to their default values.void
setChatLine(String text)
void
setOffline(boolean offline)
void
switchToSpellState(RPObject spell)
void
Requests repaint at the window areas that are painted according to the game loop frame rate.void
updateUser(User user)
-
Method Details
-
addDialog
-
addAchievementBox
-
addGameScreenText
-
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
-