Package gaiasky.scene.record
Class ComponentUtils
java.lang.Object
gaiasky.scene.record.ComponentUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isLoaded
(CubemapComponent cubemap, com.badlogic.gdx.assets.AssetManager manager) Checks whether the given cubemap is loaded.static boolean
Checks whether the texture with the given name is loaded.
-
Constructor Details
-
ComponentUtils
public ComponentUtils()
-
-
Method Details
-
isLoaded
Checks whether the texture with the given name is loaded.- Parameters:
tex
- The name of the texture.manager
- The asset manager.- Returns:
- Whether the texture is loaded.
-
isLoaded
public static boolean isLoaded(CubemapComponent cubemap, com.badlogic.gdx.assets.AssetManager manager) Checks whether the given cubemap is loaded.- Parameters:
cubemap
- The cubemap component.manager
- The asset manager.- Returns:
- Whether the cubemap component is loaded.
-