NE::NEngine Class Reference
NEngine interface.
More...
#include <NEngine/Engine.h>
List of all members.
Detailed Description
NEngine interface.
The Engine class gives an interface to implement new platform specific engine used by the game. The Engine generally contains a Window, a Renderer, a SpriteLoader but also Input and Time.
Member Function Documentation
Input * NE::NEngine::getInputManager |
( |
void |
|
) |
[inline] |
Renderer * NE::NEngine::getRenderer |
( |
void |
|
) |
[inline] |
Time * NE::NEngine::getTime |
( |
void |
|
) |
[inline] |
Get the Time used by the Engine.
- Returns:
- a pointer to the Time
Window * NE::NEngine::getWindow |
( |
void |
|
) |
[inline] |
Get the Window used by the Engine.
- Returns:
- a pointer to the Window
bool NE::NEngine::init |
( |
void |
|
) |
|
Start the engine (and all sub API used).
- Returns:
- true if all goes right
bool NE::NEngine::initAPI |
( |
void |
|
) |
[protected, pure virtual] |
Init the API (internal)
- Returns:
- true if all goes right
Implemented in NE::SDL_Engine.
bool NE::NEngine::stop |
( |
void |
|
) |
|
Stop the engine (and all sub API used).
- Returns:
- true if all goes right
bool NE::NEngine::stopAPI |
( |
void |
|
) |
[protected, pure virtual] |
Stop the API (internal)
- Returns:
- true if all goes right
Implemented in NE::SDL_Engine.
Member Data Documentation
The documentation for this class was generated from the following files:
- Sources/NEngine/NEngine.h
- Sources/NEngine/NEngine.cpp