#include <IEngine.h>
Inheritance diagram for amn::IEngine:

Public Member Functions | |
| IEngine (const char *configurationFileName) | |
| virtual | ~IEngine () |
| virtual ISceneGraph * | getSceneGraph ()=0 |
| Returns the current scene graph. | |
| virtual IVideoDevice * | getVideoDevice ()=0 |
| Returns the video device. | |
| virtual ISoundDevice * | getSoundDevice ()=0 |
| Returns the sound device. | |
| virtual IFileManager * | getFileManager ()=0 |
| Returns the file manager. | |
| virtual bool | update ()=0 |
| Updates the engine. Returns true if it is safe to continue execution. | |
| virtual void | close ()=0 |
| Kills the window, update() will nolonger return true. | |
| virtual int | addSceneGraph (ISceneGraph *graph)=0 |
| Adds a user created scene graph to the engine's management. Returns an integer index to the scene. | |
| virtual void | removeSceneGraph (int sceneGraphID)=0 |
| Removes a user created scene graph from the engine's management. | |
| virtual void | setCurrentSceneGraph (int sceneGraphID)=0 |
| Sets the current scene graph. | |
| virtual long | getTime ()=0 |
| Retrieves the system time in milliseconds. | |
Protected Attributes | |
| ISceneGraph * | sceneGraph |
| IVideoDevice * | videoDevice |
| ISoundDevice * | soundDevice |
| IFileManager * | fileManager |
| IArray< ISceneGraph * > | sceneGraphArray |
|
|
|
|
|
|
|
|
Adds a user created scene graph to the engine's management. Returns an integer index to the scene.
|
|
|
Kills the window, update() will nolonger return true.
|
|
|
Returns the file manager.
|
|
|
Returns the current scene graph.
|
|
|
Returns the sound device.
|
|
|
Retrieves the system time in milliseconds.
|
|
|
Returns the video device.
|
|
|
Removes a user created scene graph from the engine's management.
|
|
|
Sets the current scene graph.
|
|
|
Updates the engine. Returns true if it is safe to continue execution.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.2