Class AssetPools
java.lang.Object
dev.prozilla.pine.common.asset.pool.AssetPools
Contains asset pools that manage assets efficiently,
by avoiding loading assets multiple times.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AudioSourcePool
static final FontPool
static final ImagePool
static final ShaderPool
static final StyleSheetPool
static final TexturePool
-
Method Summary
-
Field Details
-
images
-
textures
-
fonts
-
styleSheets
-
audioSources
-
shaders
-
-
Method Details
-
clear
public static void clear()Clears all asset pools. -
printInfo
public static void printInfo()Logs the amount of each type of asset in the asset pool. -
printInfo
Logs the amount of each type of asset in the asset pool.
-