public class DefaultResources extends Object implements com.badlogic.gdx.LifecycleListener
| Modifier and Type | Field and Description |
|---|---|
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 |
smoothNameLarge |
static String |
squareName |
static String |
squareNameLarge |
static String |
unicodeName |
static String |
unicodeNameLarge |
| 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 LightRNG that's meant for usage in cases where the seed does not matter and any changes
to this LightRNG's state will not change behavior elsewhere in the program; this means the GUI mainly.
|
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 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 smoothNameLarge
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 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.TextureRegion getTentacle()
public static squidpony.squidmath.StatefulRNG getGuiRandom()
public void pause()
Application is about to pausepause in interface com.badlogic.gdx.LifecycleListenerpublic void resume()
resume in interface com.badlogic.gdx.LifecycleListenerpublic void dispose()
Application is about to be disposeddispose in interface com.badlogic.gdx.LifecycleListenerCopyright © 2012–2015. All rights reserved.