Draw and move the texture.

Display the test texture and move it on a line.
The program is unresponsive to events and quits automatically after 15 seconnds.
This commit is contained in:
King_DuckZ 2014-02-09 01:19:40 +01:00
parent a8f8d50129
commit fb92097419
7 changed files with 50 additions and 10 deletions

View file

@ -9,7 +9,7 @@ namespace cloonel {
class GameBase {
public:
void Exec ( float parDelta );
float Exec ( void );
protected:
explicit GameBase ( SDLMain* parSdlMain );
@ -22,8 +22,10 @@ namespace cloonel {
private:
virtual void OnRender ( void ) = 0;
virtual void OnUpdate ( float parDelta ) = 0;
SDLMain* const m_sdlmain;
unsigned int m_time0;
};
} //namespace cloonel