SUNENGINE 0.0.2
A simple and bright C++ game engine.
 
Loading...
Searching...
No Matches
SceneNull Class Reference

Null implementation of a scene. More...

#include <SceneNull.h>

Inheritance diagram for SceneNull:
Inheritance graph

Public Member Functions

virtual void Initialize () override
 Initializes the null scene.
 
virtual void SceneEnd () override
 Ends the null scene.
 
- Public Member Functions inherited from Scene
 Scene (const Scene &)=delete
 
Sceneoperator= (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.
 
TerrainGetTerrain () const
 Sets the terrain for the scene using a pointer to a Terrain object.
 

Additional Inherited Members

- Protected Member Functions inherited from Scene
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.
 

Detailed Description

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.

Member Function Documentation

◆ Initialize()

virtual void SceneNull::Initialize ( )
inlineoverridevirtual

Initializes the null scene.

Implements Scene.

◆ SceneEnd()

virtual void SceneNull::SceneEnd ( )
inlineoverridevirtual

Ends the null scene.

Implements Scene.


The documentation for this class was generated from the following file: