Bandidos
|
Public Member Functions | |
void | loadRequest (AssetManager assetManager) |
abstract void | clean () |
Protected Member Functions | |
abstract void | load () |
AssetManager | getAssetManager () |
This base class contains all the basics a Resource class has to have.
|
abstract |
This method will be where all the cleaning of loaded data will be done.
|
protected |
Returns the AssetManager which was given to the loadRequest method
|
abstractprotected |
This method will be where the textures will be loaded by the extending class. The extending class must call the 'loadResource' method for each texture to load.
void com.mygdx.game.engine.resources.BaseResource.loadRequest | ( | AssetManager | assetManager | ) |
Gives a load request to the resource so it can give all the data it wants to load into the memory.
assetManager | to give all the data to. |