GUInity
|
#include <Asset.hpp>
Public Member Functions | |
Asset () | |
virtual | ~Asset () |
void | setAssetID (unsigned int newAssetID) |
unsigned int | getAssetID () const |
string | getPath () |
void | setPath (string newPath) |
void | setName (string name) |
string | getName () |
void | setCRC (int crc) |
int | setCRC () |
Class Asset. This class represents assets in game. This can vary from textures to meshes and audio files. Virtually, everything that can be serialized to a file is an Asset. Currently, these are the assets: -Texture -Font -Audio -Mesh
The idea is to simulate the Assets folder in Unity. Therefore, assets place in a folder should be loaded automatically. Each Asset has a CRC (checksum) to check if the file has changed or not.
|
inline |
Default Constructor
|
inlinevirtual |
Default Destructor - Virtual because it's a parent class
|
inline |
assetID getter
|
inline |
name getter
|
inline |
Full path getter
|
inline |
assetID setter
|
inline |
CRC setter
|
inline |
CRC getter
|
inline |
name setter
|
inline |
Full path setter