public final class Fonts extends ResourcesContainer<java.awt.Font>
| Modifier and Type | Method and Description |
|---|---|
protected java.awt.Font |
load(java.lang.String resourceName)
Loads a custom font with the specified name from game's resources.
|
add, addClearedListener, addContainerListener, clear, contains, contains, count, get, get, get, get, getAlias, getAll, getResources, remove, removeClearedListener, removeContainerListener, tryGetprotected java.awt.Font load(java.lang.String resourceName)
fontName, it tries to get the font from the environment by calling.load in class ResourcesContainer<java.awt.Font>resourceName - The name of the fontFont.createFont(int, java.io.File),
Font.getFont(String)