When writing the X11 (linux) implementation there was a problem with X11 defining a "Display" type and we also have a Display class in the engine. So to fix that problem and minimize the risk for running into other name conflicts. We move everything from global namespace.
20 lines
No EOL
305 B
C++
20 lines
No EOL
305 B
C++
|
|
#ifndef TEXT_GAME_H
|
|
#define TEXT_GAME_H
|
|
|
|
#include <Spectre/Math/Vector2.h>
|
|
#include <Spectre/Input/InputListener.h>
|
|
#include <Spectre/Game.h>
|
|
|
|
class TextExample : public sp::Game, public sp::InputListener
|
|
{
|
|
protected :
|
|
|
|
void init();
|
|
|
|
void update(double dt);
|
|
|
|
void render();
|
|
};
|
|
|
|
#endif /* TEXT_GAME_H*/ |