Interface J2DClientGUI


public interface J2DClientGUI
  • Method Details

    • addDialog

      void addDialog(Component dialog)
    • addAchievementBox

      void addAchievementBox(String title, String description, String category)
    • addGameScreenText

      void addGameScreenText(double x, double y, String text, NotificationType type, boolean isTalking)
    • 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

      void requestQuit(StendhalClient client)
    • setChatLine

      void setChatLine(String text)
    • setOffline

      void setOffline(boolean offline)
    • switchToSpellState

      void switchToSpellState(RPObject spell)
    • triggerPainting

      void triggerPainting()
      Requests repaint at the window areas that are painted according to the game loop frame rate.
    • updateUser

      void updateUser(User user)