Adding example code and project files.
This commit is contained in:
parent
008cb6d33f
commit
07417491cb
5 changed files with 162 additions and 0 deletions
20
examples/text/Game.h
Normal file
20
examples/text/Game.h
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
|
||||
#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 Game, public InputListener
|
||||
{
|
||||
protected :
|
||||
|
||||
void init();
|
||||
|
||||
void update(double dt);
|
||||
|
||||
void render();
|
||||
};
|
||||
|
||||
#endif /* TEXT_GAME_H*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue