java.lang.Object
it.polimi.ingsw.am13.client.view.tui.ViewTUIConstants
Class containing various constants used by view TUI
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final DateTimeFormatter
static final String
static final String
static final String
static final int
static final String
static final String
static final String
static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static String
colorNickname
(PlayerLobby player) Returns the colored version of this player's nickname, based on the color of the tokenstatic String
Returns the symbol associated to a resource
-
Field Details
-
LOG_MAXLINES
public static final int LOG_MAXLINES- See Also:
-
DATETIME_FORMAT
-
FUNGUS_SYMBOL
- See Also:
-
ANIMAL_SYMBOL
- See Also:
-
PLANT_SYMBOL
- See Also:
-
INSECT_SYMBOL
- See Also:
-
QUILL_SYMBOL
- See Also:
-
INKWELL_SYMBOL
- See Also:
-
MANUSCRIPT_SYMBOL
- See Also:
-
ANGLE_NORESOURCE_SYMBOL
- See Also:
-
ANGLE_NOTLINKABLE_SYMBOL
- See Also:
-
POINTS_PATTERN_ANGLE
- See Also:
-
ANSI_RESET
- See Also:
-
ANSI_BLACK
- See Also:
-
ANSI_RED
- See Also:
-
ANSI_GREEN
- See Also:
-
ANSI_YELLOW
- See Also:
-
ANSI_BLUE
- See Also:
-
ANSI_PURPLE
- See Also:
-
ANSI_CYAN
- See Also:
-
ANSI_WHITE
- See Also:
-
-
Constructor Details
-
ViewTUIConstants
public ViewTUIConstants()
-
-
Method Details
-
resourceToSymbol
Returns the symbol associated to a resource- Parameters:
r
- a resource- Returns:
- the symbol associated to the resource
-
colorNickname
Returns the colored version of this player's nickname, based on the color of the token- Parameters:
player
- the player- Returns:
- the colored version of the player's nickname
-
clearScreen
public static void clearScreen()
-