public class FontManager extends AssetManager<Font,BitmapFontAsset>
Font into BitmapFontAsset.
To update asset after changing Font, remove it and it
will be automatically recreated.mMetadataType, mReferenceType| Constructor and Description |
|---|
FontManager() |
| Modifier and Type | Method and Description |
|---|---|
com.badlogic.gdx.graphics.g2d.BitmapFont |
getFont(String fontName)
loads font, cache passthrough.
|
protected void |
setup(com.artemis.Entity entity,
Font font,
BitmapFontAsset bitmapFontAsset) |
create, remove, setWorldprotected void setup(com.artemis.Entity entity,
Font font,
BitmapFontAsset bitmapFontAsset)
setup in class AssetManager<Font,BitmapFontAsset>public com.badlogic.gdx.graphics.g2d.BitmapFont getFont(String fontName)
Copyright © 2017. All rights reserved.