get

inline operator fun <Resource : Any> Skin.get(name: String = defaultStyle): Resource

Utility function that makes it easier to access Skin assets.

Return

resource of the specified type with the selected name.

Parameters

name

name of the requested resource. Defaults to defaultStyle.

Throws

GdxRuntimeException

if unable to find the resource.


inline operator fun <Resource : Any, E : Enum<E>> Skin.get(name: E): Resource

Utility function that makes it easier to access Skin assets.

Return

resource of the specified type with the selected name.

Parameters

name

name of the requested resource.

Throws

GdxRuntimeException

if unable to find the resource.