public interface IAssetManager
| Modifier and Type | Method and Description |
|---|---|
<T extends IAsset> |
getAllOfType(java.lang.Class<T> type) |
IAnimation |
getAnimation(IResourceName path) |
<T extends IAsset> |
getAssetWithFallback(IResourceName path,
T fallback) |
IFont |
getFont() |
IFont |
getFont(IResourceName path) |
Locale |
getLocale() |
Locale |
getLocale(IResourceName path) |
java.text.SimpleDateFormat |
getLocalizedDateFormat() |
ITexture |
getMissingTexture() |
java.io.InputStream |
getResourceStream(java.lang.String s) |
ISound |
getSound(IResourceName path) |
ITexture |
getTexture(IResourceName path) |
java.lang.String |
localize(IResourceName unloc,
java.lang.Object... format) |
ISpecialCursor |
pickCurrentCursor(IGameInstance game) |
void |
setCursor(IGameInstance game,
ISpecialCursor cursor) |
void |
setFont(IFont font) |
void |
setLocale(Locale locale) |
@ApiInternal void setCursor(IGameInstance game, ISpecialCursor cursor)
<T extends IAsset> java.util.Map<IResourceName,T> getAllOfType(java.lang.Class<T> type)
<T extends IAsset> T getAssetWithFallback(IResourceName path, T fallback)
ITexture getTexture(IResourceName path)
IAnimation getAnimation(IResourceName path)
ISound getSound(IResourceName path)
@ApiInternal Locale getLocale(IResourceName path)
@ApiInternal IFont getFont(IResourceName path)
java.lang.String localize(IResourceName unloc, java.lang.Object... format)
IFont getFont()
@ApiInternal void setFont(IFont font)
Locale getLocale()
@ApiInternal void setLocale(Locale locale)
java.io.InputStream getResourceStream(java.lang.String s)
ITexture getMissingTexture()
java.text.SimpleDateFormat getLocalizedDateFormat()
@ApiInternal ISpecialCursor pickCurrentCursor(IGameInstance game)