![]() |
Sly Engine
|
#include <Scene.h>


Public Member Functions | |
| Scene () | |
| Default constructor. More... | |
| Scene (const Scene &)=delete | |
| Copy constructor. More... | |
| Scene (Scene &&)=delete | |
| Move constructor. More... | |
| Scene & | operator= (const Scene &)=delete |
| Assignment operator. More... | |
| Scene & | operator= (Scene &&)=delete |
| Move assignment operator. More... | |
| virtual | ~Scene () |
| Deconstructor. More... | |
| virtual void | Initialize ()=0 |
| Initializes the scene. Put scene related startup here. More... | |
| virtual void | SceneEnd ()=0 |
| Shuts down the scene. Put scene related end tasks here. More... | |
| Camera * | GetCamera () |
| Gets the camera. More... | |
| Camera * | Get2DCamera () |
| Gets the Camera Manager's 2D camera. More... | |
| void | SetCurrentCamera (Camera *newCamera) |
| Sets current camera. More... | |
| void | SetCurrent2DCamera (Camera *newCamera) |
| Sets current 2D camera. More... | |
| void | ProcessGodCam () |
| Process the god camera. More... | |
| void | RequestGodCam () |
| Request god camera be present in the current scene. More... | |
Public Member Functions inherited from UpdatableManager | |
| UpdatableManager () | |
| Default constructor. More... | |
| UpdatableManager (const UpdatableManager &)=delete | |
| Copy constructor. More... | |
| UpdatableManager (UpdatableManager &&)=delete | |
| Move constructor. More... | |
| UpdatableManager & | operator= (const UpdatableManager &)=delete |
| Assignment operator. More... | |
| UpdatableManager & | operator= (UpdatableManager &&)=delete |
| Move assignment operator. More... | |
| ~UpdatableManager () | |
| Deconstructor. More... | |
| void | ProcessElements () |
| Process the elements. More... | |
| void | Register (Updatable *up, UpdatableManager::StorageListRef &pStorageDeleteRef) |
| Registers this. More... | |
| void | Deregister (Updatable *up) |
| Deregisters this. More... | |
Public Member Functions inherited from DrawableManager | |
| DrawableManager () | |
| Default constructor. More... | |
| DrawableManager (const DrawableManager &)=delete | |
| Copy constructor. More... | |
| DrawableManager (DrawableManager &&)=delete | |
| Move constructor. More... | |
| DrawableManager & | operator= (const DrawableManager &)=delete |
| Assignment operator. More... | |
| DrawableManager & | operator= (DrawableManager &&)=delete |
| Move assignment operator. More... | |
| ~DrawableManager () | |
| Deconstructor. More... | |
| void | ProcessElements () |
| Process the elements. More... | |
| void | Register (Drawable *dr, StorageListRef &pStorageDeleteRef) |
| Registers this. More... | |
| void | Deregister (Drawable *dr) |
| Deregisters this. More... | |
Public Member Functions inherited from AlarmableManager | |
| AlarmableManager () | |
| Default constructor. More... | |
| AlarmableManager (const AlarmableManager &)=delete | |
| Copy constructor. More... | |
| AlarmableManager (AlarmableManager &&)=delete | |
| Move constructor. More... | |
| AlarmableManager & | operator= (const AlarmableManager &)=delete |
| Assignment operator. More... | |
| AlarmableManager & | operator= (AlarmableManager &&)=delete |
| Move assignment operator. More... | |
| ~AlarmableManager () | |
| Deconstructor. More... | |
| void | ProcessAlarms () |
| Process the alarms. More... | |
| void | Register (float deltaT, Alarmable *al, AlarmableManager::ALARM_ID inputId, StorageEntryRef &ref) |
| Registers this. More... | |
| void | Deregister (StorageEntryRef &ref) |
| Deregisters this. More... | |
Protected Member Functions | |
| template<typename C1 , typename C2 > | |
| void | SetCollisionPair () |
| Sets collision pair. More... | |
| template<typename C1 > | |
| void | SetCollisionSelf () |
| Sets collision self. More... | |
| template<typename C1 > | |
| void | SetCollisionTerrain () |
Private Member Functions | |
| void | SubmitCommand (SceneRegistry *cmd) |
| Submit command. More... | |
| void | Draw () |
| Processes draw commands for the scene. More... | |
| void | Update () |
| Processes update commands for the scene. More... | |
Friends | |
| class | SceneAttorney |
| Dictates access to the Scene through the SceneAttorney. More... | |
Additional Inherited Members | |
Public Types inherited from UpdatableManager | |
| typedef StorageList::iterator | StorageListRef |
| Defines an alias representing the storage list reference. More... | |
Public Types inherited from DrawableManager | |
| typedef StorageList::iterator | StorageListRef |
| Defines an alias representing the storage list reference. More... | |
Public Types inherited from AlarmableManager | |
| enum | ALARM_ID { ALARM_0, ALARM_1, ALARM_2, ALARM_3, ALARM_4 } |
| Values that represent alarm Identifiers. More... | |
| typedef std::pair< Alarmable *, ALARM_ID > | AlarmEvent |
| Defines an alias representing the alarm event. More... | |
| typedef std::multimap< float, AlarmEvent > | TimeLineMap |
| Defines an alias representing the time line map. More... | |
| typedef TimeLineMap::iterator | StorageEntryRef |
| Defines an alias representing the storage entry reference. More... | |
Static Public Attributes inherited from AlarmableManager | |
| static const int | ALARM_NUMBER = 5 |
| The max alarm number. More... | |
| Scene::Scene | ( | ) |
Default constructor.

|
delete |
Copy constructor.
|
delete |
Move constructor.
|
virtual |
Deconstructor.

|
private |
Processes draw commands for the scene.


| Camera * Scene::Get2DCamera | ( | ) |
Gets the Camera Manager's 2D camera.

| Camera * Scene::GetCamera | ( | ) |
Gets the camera.


|
pure virtual |
Initializes the scene. Put scene related startup here.

| void Scene::ProcessGodCam | ( | ) |
Process the god camera.


| void Scene::RequestGodCam | ( | ) |
Request god camera be present in the current scene.


|
pure virtual |
Shuts down the scene. Put scene related end tasks here.

|
inlineprotected |
Sets collision pair.
| C1 | Type of the c1. |
| C2 | Type of the c2. |

|
inlineprotected |
Sets collision self.
| C1 | Type of the c1. |

|
inlineprotected |

| void Scene::SetCurrent2DCamera | ( | Camera * | newCamera | ) |
Sets current 2D camera.
| [in,out] | newCamera | If non-null, the new camera. |
Ensure the input camera is an Orthographic camera to avoid perspective on the rendered sprites.

| void Scene::SetCurrentCamera | ( | Camera * | newCamera | ) |
Sets current camera.
| newCamera | If non-null, the new camera. |

|
private |
Submit command.
| cmd | Adds the command to the RegistrationBroker |


|
private |
Processes update commands for the scene.


|
friend |
Dictates access to the Scene through the SceneAttorney.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |