Untold Engine
Beta v0.0.16
docs
|
The U4DLayerManager class manages the layer objects currently present in the scene. Layers are object that can be rendered on top of the view component. More...
Public Member Functions | |
void | setController (U4DControllerInterface *uController) |
sets the active controller More... | |
void | setWorld (U4DWorld *uWorld) |
sets the current active view component More... | |
void | addLayerToContainer (U4DLayer *uLayer) |
adds layer to the layer-container More... | |
void | pushLayer (std::string uLayerName) |
pushes a new layer into the stack More... | |
void | popLayer () |
pops the top layer from the stack | |
U4DLayer * | getActiveLayer () |
returs the active layer | |
void | clear () |
clears the layer container and stack | |
Static Public Member Functions | |
static U4DLayerManager * | sharedInstance () |
returns the instance of the singleton | |
Protected Member Functions | |
U4DLayerManager () | |
Constructor. | |
~U4DLayerManager () | |
Destructor. | |
The U4DLayerManager class manages the layer objects currently present in the scene. Layers are object that can be rendered on top of the view component.
void U4DEngine::U4DLayerManager::addLayerToContainer | ( | U4DLayer * | uLayer | ) |
adds layer to the layer-container
uLayer | layer to add |
void U4DEngine::U4DLayerManager::pushLayer | ( | std::string | uLayerName | ) |
pushes a new layer into the stack
uLayerName | name of the layer to push onto the stack |
void U4DEngine::U4DLayerManager::setController | ( | U4DControllerInterface * | uController | ) |
sets the active controller
uController | current active controller in the game |
void U4DEngine::U4DLayerManager::setWorld | ( | U4DWorld * | uWorld | ) |
sets the current active view component
uWorld | view Component |