|
StevEngine
StevEngine is a customizable C++ game engine.
|
Physics collision layer manager. More...
#include <physics/Layers.hpp>
Public Types | |
| enum | DefaultLayers { STATIC = (LayerID)0 , DEFAULT = (LayerID)1 } |
Public Member Functions | |
| LayerID | CreateLayer (bool isStatic=true) |
| Create a new physics layer. | |
| const Layer & | GetLayer (LayerID id) |
| Get layer by ID. | |
Physics collision layer manager.
Defines set of layers and which collisions are allowed.
| LayerID StevEngine::Physics::LayerManager::CreateLayer | ( | bool | isStatic = true | ) |
| const Layer & StevEngine::Physics::LayerManager::GetLayer | ( | LayerID | id | ) |