ResourceAssetResolutionStrategy

Asset resolution strategy for resources.

Constructors

Link copied to clipboard
constructor(clazz: Class<*>)

Properties

Link copied to clipboard
val clazz: Class<*>

The class that should be used for resolving resources.

Functions

Link copied to clipboard
open override fun copyAssets(targetFile: File)

Copies asset files to a target directory.

Link copied to clipboard
open override fun getAsset(relativePath: Path): File?

Resolves an asset.

Link copied to clipboard
open fun getFont(key: Key): File?

Gets a font.

Link copied to clipboard
open fun getTexture(key: Key): File?

Gets a texture.