Movement with left/right arrow keys.
Movement is hardcoded but it works. Also fixed some typos that gave me a hard time figuring out why movement was giving all sort of crazy problems. Very bad typos, see gameplaysceneclassic.cpp, inputbag.cpp, inputbag.hpp and key.hpp if you want to get goosebumps.
This commit is contained in:
parent
597607366e
commit
ab31e94bf0
10 changed files with 116 additions and 6 deletions
|
@ -25,6 +25,7 @@ namespace cloonel {
|
|||
|
||||
private:
|
||||
virtual void OnRender ( void ) = 0;
|
||||
virtual void OnPreUpdate ( void ) = 0;
|
||||
virtual void OnUpdate ( float parDelta ) = 0;
|
||||
virtual bool ShouldQuit ( void ) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue