#include <ModelManager.h>
|
static void | Load (MapKey k, const char *path) |
| Loads a Model from path and associates it with Key k.
|
|
static void | Load (MapKey k, Model::PreMadeModels pm) |
| Creates the Premade Model specified by pm and associates it with Key k.
|
|
static Model * | Get (const MapKey k) |
| Gets the Model associated with the given MapKey.
|
|
◆ MapKey
◆ StorageMap
◆ ModelManager() [1/2]
ModelManager::ModelManager |
( |
| ) |
|
|
private |
◆ ModelManager() [2/2]
◆ ~ModelManager()
ModelManager::~ModelManager |
( |
| ) |
|
|
private |
◆ Free()
void ModelManager::Free |
( |
| ) |
|
|
staticprivate |
◆ Get()
Model * ModelManager::Get |
( |
const MapKey |
k | ) |
|
|
static |
Gets the Model associated with the given MapKey.
Haru, 3/8/2023.
- Parameters
-
- Returns
- A pointer to the Model.
◆ Instance()
◆ Load() [1/2]
void ModelManager::Load |
( |
MapKey |
k, |
|
|
const char * |
path |
|
) |
| |
|
static |
Loads a Model from path and associates it with Key k.
Haru, 3/8/2023.
- Parameters
-
k | A MapKey (string) to associate the Model with. |
path | Pathname of the file. |
◆ Load() [2/2]
void ModelManager::Load |
( |
MapKey |
k, |
|
|
Model::PreMadeModels |
pm |
|
) |
| |
|
static |
Creates the Premade Model specified by pm and associates it with Key k.
Haru, 3/8/2023.
- Parameters
-
k | A MapKey (string) to associate the Model with. |
pm | The Premade Model to generate. |
◆ operator=()
◆ privLoad() [1/2]
void ModelManager::privLoad |
( |
MapKey |
k, |
|
|
const char * |
path |
|
) |
| |
|
private |
◆ privLoad() [2/2]
void ModelManager::privLoad |
( |
MapKey |
k, |
|
|
Model::PreMadeModels |
pm |
|
) |
| |
|
private |
◆ ModelManagerAttorney
◆ models
◆ p_instance
◆ spriteKey
◆ unitBoxKey
◆ unitSphereKey
The documentation for this class was generated from the following files: