Class stendhal

java.lang.Object
games.stendhal.client.stendhal

public final class stendhal extends Object
Main game class.
  • Field Details

    • GAME_NAME

      public static final String GAME_NAME
    • VERSION

      public static final String VERSION
    • SIZE_INDEX

      public static final Integer SIZE_INDEX
    • SIZE_INDEX_LARGE

      public static final Integer SIZE_INDEX_LARGE
    • SIZE_INDEX_WIDE

      public static final Integer SIZE_INDEX_WIDE
    • DISPLAY_SIZE_INDEX

      public static final Integer DISPLAY_SIZE_INDEX
    • SHOW_COLLISION_DETECTION

      public static final boolean SHOW_COLLISION_DETECTION
      See Also:
      Constant Field Values
    • SHOW_EVERYONE_ATTACK_INFO

      public static final boolean SHOW_EVERYONE_ATTACK_INFO
      See Also:
      Constant Field Values
    • FILTER_ATTACK_MESSAGES

      public static final boolean FILTER_ATTACK_MESSAGES
      See Also:
      Constant Field Values
  • Method Details

    • setDoLogin

      public static void setDoLogin()
      Notify that the login has been performed and the client should proceed to show the game window.
    • getDisplaySize

      public static Dimension getDisplaySize()
      Get the maximum size of the visible game area.
      Returns:
      screen dimensions
    • getGameFolder

      public static String getGameFolder()
      Get the location of persistent game client data.
      Returns:
      game's home directory
    • main

      public static void main(String[] args)
      Main Entry point.
      Parameters:
      args - command line arguments