Public Member Functions

FIFE::Engine Class Reference

#include <engine.h>

Collaboration diagram for FIFE::Engine:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Engine ()
virtual ~Engine ()
EngineSettingsgetSettings ()
void init ()
void destroy ()
void initializePumping ()
void finalizePumping ()
void pump ()
SoundManager * getSoundManager () const
EventManagergetEventManager () const
TimeManagergetTimeManager () const
GUIManager * getGuiManager () const
ImagePoolgetImagePool () const
AnimationPoolgetAnimationPool () const
SoundClipPoolgetSoundClipPool () const
RenderBackendgetRenderBackend () const
ModelgetModel () const
LogManagergetLogManager () const
GuiFont * getDefaultFont () const
VFSgetVFS () const
CursorgetCursor () const

Detailed Description

Engine acts as a controller to the whole system Responsibilities of the engine are:

Definition at line 73 of file engine.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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

Definition at line 132 of file engine.h.

Cursor* FIFE::Engine::getCursor (  )  const [inline]

Returns cursor used in the engine

Definition at line 160 of file engine.h.

GuiFont* FIFE::Engine::getDefaultFont (  )  const [inline]

Returns default font used in the engine

Definition at line 152 of file engine.h.

EventManager* FIFE::Engine::getEventManager (  )  const [inline]

Provides access point to the EventManager

Definition at line 116 of file engine.h.

GUIManager* FIFE::Engine::getGuiManager (  )  const [inline]

Provides access point to the GuiManager

Definition at line 124 of file engine.h.

ImagePool* FIFE::Engine::getImagePool (  )  const [inline]

Provides access point to the ImagePool

Definition at line 128 of file engine.h.

LogManager* FIFE::Engine::getLogManager (  )  const [inline]

Provides access point to the LogManager

Definition at line 148 of file engine.h.

Model* FIFE::Engine::getModel (  )  const [inline]

Provides access point to the Model

Definition at line 144 of file engine.h.

RenderBackend* FIFE::Engine::getRenderBackend (  )  const [inline]

Provides access point to the RenderBackend

Definition at line 140 of file engine.h.

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

Definition at line 136 of file engine.h.

SoundManager* FIFE::Engine::getSoundManager (  )  const [inline]

Provides access point to the SoundManager

Definition at line 112 of file engine.h.

TimeManager* FIFE::Engine::getTimeManager (  )  const [inline]

Provides access point to the TimeManager

Definition at line 120 of file engine.h.

VFS* FIFE::Engine::getVFS (  )  const [inline]

Provides access point to the VFS

Definition at line 156 of file engine.h.

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.


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