public final class GBase
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.awt.Font |
getFont(java.lang.String name)
Returns font with specified ID form base
|
static org.newdawn.slick.Image |
getImage(java.lang.String name)
Returns image with specified ID from base
|
static void |
load()
Loads base
|
public static org.newdawn.slick.Image getImage(java.lang.String name)
name
- ID of desired image in basepublic static java.awt.Font getFont(java.lang.String name)
name
- ID of desired font in basepublic static void load() throws java.io.IOException, org.newdawn.slick.SlickException, java.awt.FontFormatException
java.io.IOException
org.newdawn.slick.SlickException
java.awt.FontFormatException