Null implementation of a scene. More...
#include <SceneNull.h>
Public Member Functions | |
virtual void | Initialize () override |
Initializes the null scene. | |
virtual void | SceneEnd () override |
Ends the null scene. | |
![]() | |
Scene (const Scene &)=delete | |
Scene & | operator= (const Scene &)=delete |
void | SetCurrentCamera (Camera *cam) |
Sets the current 3D camera for the scene. | |
Camera * | GetCurrentCamera () const |
Gets the current camera for the scene. | |
void | SetCurrentCamera2D (Camera *cam) |
Sets the current 2D camera for the scene. | |
Camera * | GetCurrentCamera2D () const |
Gets the current 2D camera for the scene. | |
void | SetTerrain (const std::string &key) |
Sets the terrain for the scene using a key. | |
Terrain * | GetTerrain () const |
Sets the terrain for the scene using a pointer to a Terrain object. | |
Additional Inherited Members | |
![]() | |
template<typename C> | |
void | SetCollisionSelf () |
Sets the collision self test for the specified collidable type. | |
template<typename C1, typename C2> | |
void | SetCollisionPair () |
Sets the collision pair test for the specified collidable types. | |
template<typename Type> | |
void | SetCollisionTerrain () |
Sets up collision detection between the specified type and the current terrain. | |
Null implementation of a scene.
The SceneNull class provides a null implementation of a scene. It inherits from the Scene class and overrides the Initialize and SceneEnd methods to do nothing.
|
inlineoverridevirtual |
Initializes the null scene.
Implements Scene.
|
inlineoverridevirtual |
Ends the null scene.
Implements Scene.