Package gaiasky.data
Class AssetBean
java.lang.Object
gaiasky.data.AssetBean
Utility class to hold the assets that must be loaded when the OpenGL context is present.
If the AssetManager has been set, it delegates the loading to it.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
void
load
(com.badlogic.gdx.assets.AssetManager manager) Invokes the load operation on the given AssetManager for this given AssetBean.static com.badlogic.gdx.assets.AssetManager
manager()
static void
setAssetManager
(com.badlogic.gdx.assets.AssetManager manager)
-
Method Details
-
addAsset
-
addAsset
-
getAssets
-
setAssetManager
public static void setAssetManager(com.badlogic.gdx.assets.AssetManager manager) -
manager
public static com.badlogic.gdx.assets.AssetManager manager() -
load
public void load(com.badlogic.gdx.assets.AssetManager manager) Invokes the load operation on the given AssetManager for this given AssetBean.- Parameters:
manager
- The asset manager.
-