Skip to content
Paulius Imbrasas edited this page Jan 16, 2014 · 2 revisions

Loads all of the art (textures, skins, button and label styles) on initialisation of the game. As all textures and skin are stored here, all models (such as Aircraft and Waypoint) use this class to get their texture from the pool.

Loading of Textures

The Art.load() functions loads the texture (as required by libgdx, one that's size is of the power of two, thus 2048 by 2048 pixels) and splits it into parts which can be later retrieved using the Art.getTextureRegion(String key) function.

Clone this wiki locally