Modifier and Type | Field and Description |
---|---|
private static TTFont |
Drawer.defaultTTFont |
private static TTFont |
GameScreen.gameFont
Font which will be adopted by the game-screen's main interface
|
private TTFont |
PlayerSelectScreen.menuFont
Establishes the font which is used to encode the menu's options
|
private TTFont |
MainMenu.menuFont
Establishes the font which is used to encode the menu's options
|
private TTFont |
LeaderboardFrontend.menuFont
Establishes the font which is used to encode the menu's options
|
private TTFont |
HowToPlay.menuFont
Establishes the font which is used to encode the menu's options
|
private TTFont |
Market.tableFont
Defines the font of the text comprising the market's interface
|
private TTFont |
MainMenu.tempFont
Establishes the font which, at the moment, encodes a "Title TBC" message
|
private TTFont |
MainMenu.titleFont
Establishes the font which is used to encode the game's title
|
private TTFont |
Tile.tooltipFont
Defines the font of the text inside the tile's tooltip
|
private TTFont |
Tile.tooltipFont2 |
Modifier and Type | Method and Description |
---|---|
static TTFont |
GameScreen.getGameFont() |
Modifier and Type | Method and Description |
---|---|
void |
Drawer.text(java.lang.String text,
TTFont font,
float x,
float y)
Prints text directly on to the next frame, foregoing the need to generate any labels or scenes
Works by orthographically projecting the bitmaps in the provided TTFont object's internal BitmapFont during
a rendering pipeline which only exists while the method itself exists
|
Constructor and Description |
---|
GameTimer(int minutes,
int seconds,
TTFont font,
com.badlogic.gdx.graphics.Color runColour)
Sets up the timer for later use
Overloaded constructor that forgoes setting a terminal method and renders the timer gray when paused
|
GameTimer(int minutes,
int seconds,
TTFont font,
com.badlogic.gdx.graphics.Color runColour,
com.badlogic.gdx.graphics.Color pauseColour)
Sets up the timer for later use
Overloaded constructor that forgoes setting a terminal method
|
GameTimer(int minutes,
int seconds,
TTFont font,
com.badlogic.gdx.graphics.Color runColour,
com.badlogic.gdx.graphics.Color pauseColour,
java.lang.Runnable end)
Sets up the timer for later use
Works by instantiating the timer as label, changing that label's appearance to reflect the provided time and
setting up the label's internal Timer object to run the provided terminal method when the "minutes" and "seconds"
variables both reach 0 (after being changed enough times following each Timer interval)
|
GameTimer(int seconds,
TTFont font,
com.badlogic.gdx.graphics.Color runColour)
Sets up the timer for later use
Overloaded constructor that sets the timer based on a total number of seconds (rather than a combination
of minutes and seconds), forgoes setting a terminal method and renders the timer gray when paused
|
GameTimer(int seconds,
TTFont font,
com.badlogic.gdx.graphics.Color runColour,
com.badlogic.gdx.graphics.Color pauseColour)
Sets up the timer for later use
Overloaded constructor that sets the timer based on a total number of seconds (rather than a combination
of minutes and seconds) and forgoes setting a terminal method
|
GameTimer(int seconds,
TTFont font,
com.badlogic.gdx.graphics.Color runColour,
com.badlogic.gdx.graphics.Color pauseColour,
java.lang.Runnable end)
Sets up the timer for later use
Overloaded constructor that sets the timer based on a total number of seconds (rather than a combination
of minutes and seconds)
|
GameTimer(int seconds,
TTFont font,
com.badlogic.gdx.graphics.Color runColour,
java.lang.Runnable end)
Sets up the timer for later use
Overloaded constructor that sets the timer based on a total number of seconds (rather than a combination
of minutes and seconds) and renders the timer gray when paused
|
LabelledElement(java.lang.String labelText,
TTFont labelFont,
com.badlogic.gdx.graphics.Color labelColor,
com.badlogic.gdx.scenes.scene2d.Actor actor,
float labelSpacing,
float actorSpacing)
Constructor for the class, which pairs an actor to a complementary label around a spatial framework that can
be rendered to the screen directly as an independent actor itself
Specifically creates a table, a new label of the provided parameters and a single table row containing
the aforementioned label in one cell and a specified actor in the other
Overloaded constructor that automatically sets the complementary label to the left of the paired actor
|
LabelledElement(java.lang.String labelText,
TTFont labelFont,
com.badlogic.gdx.graphics.Color labelColor,
boolean labelRight,
com.badlogic.gdx.scenes.scene2d.Actor actor,
float labelSpacing,
float actorSpacing)
Constructor for the class, which pairs an actor to a complementary label around a spatial framework that can
be rendered to the screen directly as an independent actor itself
Specifically creates a table, a new label of the provided parameters and a single table row containing
the aforementioned label in one cell and a specified actor in the other
|