#include <engine.h>
Public Member Functions | |
Engine () | |
virtual | ~Engine () |
EngineSettings & | getSettings () |
void | init () |
void | destroy () |
void | initializePumping () |
void | finalizePumping () |
void | pump () |
SoundManager * | getSoundManager () const |
EventManager * | getEventManager () const |
TimeManager * | getTimeManager () const |
GUIManager * | getGuiManager () const |
ImagePool * | getImagePool () const |
AnimationPool * | getAnimationPool () const |
SoundClipPool * | getSoundClipPool () const |
RenderBackend * | getRenderBackend () const |
Model * | getModel () const |
LogManager * | getLogManager () const |
GuiFont * | getDefaultFont () const |
VFS * | getVFS () const |
Cursor * | getCursor () const |
Engine acts as a controller to the whole system Responsibilities of the engine are:
Definition at line 73 of file engine.h.
FIFE::Engine::Engine | ( | ) |
Constructor
Definition at line 79 of file engine.cpp.
FIFE::Engine::~Engine | ( | ) | [virtual] |
Destructor
Definition at line 244 of file engine.cpp.
void FIFE::Engine::destroy | ( | ) |
Explicit destruction of engine
Definition at line 250 of file engine.cpp.
void FIFE::Engine::finalizePumping | ( | ) |
Finalizes the continuous processing of the engine Call this only once in your program, after you have called initializePumping + (pump() * N times)
Definition at line 303 of file engine.cpp.
AnimationPool* FIFE::Engine::getAnimationPool | ( | ) | const [inline] |
Provides access point to the AnimationPool
Cursor* FIFE::Engine::getCursor | ( | ) | const [inline] |
GuiFont* FIFE::Engine::getDefaultFont | ( | ) | const [inline] |
EventManager* FIFE::Engine::getEventManager | ( | ) | const [inline] |
Provides access point to the EventManager
GUIManager* FIFE::Engine::getGuiManager | ( | ) | const [inline] |
ImagePool* FIFE::Engine::getImagePool | ( | ) | const [inline] |
LogManager* FIFE::Engine::getLogManager | ( | ) | const [inline] |
Provides access point to the LogManager
Model* FIFE::Engine::getModel | ( | ) | const [inline] |
RenderBackend* FIFE::Engine::getRenderBackend | ( | ) | const [inline] |
Provides access point to the RenderBackend
EngineSettings & FIFE::Engine::getSettings | ( | ) |
Gets settings class for engine
Definition at line 111 of file engine.cpp.
SoundClipPool* FIFE::Engine::getSoundClipPool | ( | ) | const [inline] |
Provides access point to the SoundClipPool
SoundManager* FIFE::Engine::getSoundManager | ( | ) | const [inline] |
TimeManager* FIFE::Engine::getTimeManager | ( | ) | const [inline] |
Provides access point to the TimeManager
VFS* FIFE::Engine::getVFS | ( | ) | const [inline] |
void FIFE::Engine::init | ( | ) |
Initializes the engine
Definition at line 138 of file engine.cpp.
void FIFE::Engine::initializePumping | ( | ) |
Initializes the continuous processing of the engine Call this only once in your program
Definition at line 289 of file engine.cpp.
void FIFE::Engine::pump | ( | ) |
Runs one cycle for the engine
Definition at line 293 of file engine.cpp.