public class DefaultResources extends Object implements com.badlogic.gdx.LifecycleListener
Modifier and Type | Field and Description |
---|---|
static String |
distanceFieldClean |
static String |
distanceFieldCleanTexture |
static String |
distanceFieldNarrow |
static String |
distanceFieldNarrowTexture |
static String |
distanceFieldPrint |
static String |
distanceFieldPrintTexture |
static String |
distanceFieldSquare |
static String |
distanceFieldSquareTexture |
static String |
distanceFieldTypewriterNarrow |
static String |
distanceFieldTypewriterNarrowTexture |
static String |
fragmentShader |
static String |
narrowFontAll
Special symbols that can be used as icons if you use the narrow default font.
|
static String |
narrowFontSymbols
Special symbols that can be used as icons if you use the narrow default font.
|
static String |
narrowName |
static String |
narrowNameExtraLarge |
static String |
narrowNameLarge |
static String |
smoothName |
static String |
smoothNameLarge |
static String |
squareName |
static String |
squareNameLarge |
static String |
unicodeName |
static String |
unicodeNameLarge |
static String |
vertexShader |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Called when the
Application is about to be disposed |
static com.badlogic.gdx.graphics.g2d.BitmapFont |
getDefaultFont()
Returns a 12x12px, stretched but curvaceous font as an embedded resource.
|
static com.badlogic.gdx.graphics.g2d.BitmapFont |
getDefaultNarrowFont()
Returns a 6x12px, narrow and curving font as an embedded resource.
|
static com.badlogic.gdx.graphics.g2d.BitmapFont |
getDefaultUnicodeFont()
Returns a 6x16px, narrow and curving font with a lot of unicode chars as an embedded resource.
|
static com.badlogic.gdx.graphics.g2d.BitmapFont |
getExtraLargeNarrowFont()
Returns a 12x24px, narrow and curving font as an embedded resource.
|
static squidpony.squidmath.StatefulRNG |
getGuiRandom()
This is a static global StatefulRNG that's meant for usage in cases where the seed does not matter and any
changes to this RNG's state will not change behavior elsewhere in the program; this means the GUI mainly.
|
static com.badlogic.gdx.graphics.g2d.TextureAtlas |
getIconAtlas()
Gets a TextureAtlas containing many icons with a distance field effect applied, allowing them to be used with
"stretchable" fonts and be resized in the same way.
|
static com.badlogic.gdx.graphics.g2d.BitmapFont |
getLargeFont()
Returns a 24x24px, stretched but curvaceous font as an embedded resource.
|
static com.badlogic.gdx.graphics.g2d.BitmapFont |
getLargeNarrowFont()
Returns a 12x24px, narrow and curving font as an embedded resource.
|
static com.badlogic.gdx.graphics.g2d.BitmapFont |
getLargeSmoothFont()
Returns a 12x24px, very smooth and generally good-looking font (based on Inconsolata) as an embedded resource.
|
static com.badlogic.gdx.graphics.g2d.BitmapFont |
getLargeUnicodeFont()
Returns a 12x32px, narrow and curving font with a lot of unicode chars as an embedded resource.
|
static SquidColorCenter |
getSCC()
This is a static global SquidColorCenter that can be used in places that just need an existing object that can do
things like analyze hue or saturation of a color.
|
static com.badlogic.gdx.graphics.g2d.BitmapFont |
getSmoothFont()
Returns a 8x18px, very smooth and generally good-looking font (based on Inconsolata) as an embedded resource.
|
static com.badlogic.gdx.graphics.g2d.BitmapFont |
getSquareSmoothFont()
Returns a 25x25px, very smooth and generally good-looking font (based on Inconsolata) as an embedded resource.
|
static com.badlogic.gdx.graphics.g2d.BitmapFont |
getSquareSmoothMediumFont()
NOTE: May have issues with transparency.
|
static TextCellFactory |
getStretchableCleanFont()
Returns a TextCellFactory already configured to use a variable-width sans-serif font that currently looks
slightly jumbled without certain layout features.
|
static TextCellFactory |
getStretchableFont()
Returns a TextCellFactory already configured to use a narrow font (twice as tall as it is wide) that should scale
cleanly to many sizes.
|
static TextCellFactory |
getStretchablePrintFont()
Returns a TextCellFactory already configured to use a variable-width serif font that should look like the serif
fonts used in many novels' main texts, and that should scale cleanly to many sizes.
|
static TextCellFactory |
getStretchableSquareFont()
Returns a TextCellFactory already configured to use a square font that should scale cleanly to many sizes.
|
static TextCellFactory |
getStretchableTypewriterFont()
Returns a TextCellFactory already configured to use a narrow typewriter-style serif font that should scale
cleanly to many sizes.
|
static com.badlogic.gdx.graphics.g2d.TextureRegion |
getTentacle()
Gets an image of a (squid-like, for SquidLib) tentacle, 32x32px.
|
void |
pause()
Called when the
Application is about to pause |
void |
resume()
Called when the Application is about to be resumed
|
public static final String squareName
public static final String narrowName
public static final String unicodeName
public static final String squareNameLarge
public static final String narrowNameLarge
public static final String unicodeNameLarge
public static final String narrowNameExtraLarge
public static final String smoothName
public static final String smoothNameLarge
public static final String distanceFieldSquare
public static final String distanceFieldSquareTexture
public static final String distanceFieldNarrow
public static final String distanceFieldNarrowTexture
public static final String distanceFieldPrint
public static final String distanceFieldPrintTexture
public static final String distanceFieldClean
public static final String distanceFieldCleanTexture
public static final String distanceFieldTypewriterNarrow
public static final String distanceFieldTypewriterNarrowTexture
public static String vertexShader
public static String fragmentShader
public static final String narrowFontSymbols
public static final String narrowFontAll
public static com.badlogic.gdx.graphics.g2d.BitmapFont getDefaultFont()
public static com.badlogic.gdx.graphics.g2d.BitmapFont getLargeFont()
public static com.badlogic.gdx.graphics.g2d.BitmapFont getDefaultNarrowFont()
public static com.badlogic.gdx.graphics.g2d.BitmapFont getLargeNarrowFont()
public static com.badlogic.gdx.graphics.g2d.BitmapFont getExtraLargeNarrowFont()
public static com.badlogic.gdx.graphics.g2d.BitmapFont getSmoothFont()
public static com.badlogic.gdx.graphics.g2d.BitmapFont getLargeSmoothFont()
public static com.badlogic.gdx.graphics.g2d.BitmapFont getDefaultUnicodeFont()
public static com.badlogic.gdx.graphics.g2d.BitmapFont getLargeUnicodeFont()
public static com.badlogic.gdx.graphics.g2d.BitmapFont getSquareSmoothFont()
public static com.badlogic.gdx.graphics.g2d.BitmapFont getSquareSmoothMediumFont()
public static TextCellFactory getStretchableSquareFont()
public static TextCellFactory getStretchableFont()
public static TextCellFactory getStretchableTypewriterFont()
public static TextCellFactory getStretchablePrintFont()
public static TextCellFactory getStretchableCleanFont()
public static com.badlogic.gdx.graphics.g2d.TextureRegion getTentacle()
public static com.badlogic.gdx.graphics.g2d.TextureAtlas getIconAtlas()
public static squidpony.squidmath.StatefulRNG getGuiRandom()
public static SquidColorCenter getSCC()
public void pause()
Application
is about to pausepause
in interface com.badlogic.gdx.LifecycleListener
public void resume()
resume
in interface com.badlogic.gdx.LifecycleListener
public void dispose()
Application
is about to be disposeddispose
in interface com.badlogic.gdx.LifecycleListener
Copyright © 2012–2016. All rights reserved.