skin

inline fun skin(init: Skin.(Skin) -> Unit = {}): Skin

Return

a new instance of Skin.

Parameters

init

will be applied to the Skin instance. Inlined.


inline fun skin(atlas: TextureAtlas, init: Skin.(Skin) -> Unit = {}): Skin

Return

a new instance of Skin.

Parameters

atlas

will be disposed along with the Skin.

init

will be applied to the Skin instance. Inlined.