Update README.md

This commit is contained in:
Lauchmelder 2020-07-10 15:29:40 +02:00 committed by GitHub
parent 7469e3efc7
commit e0a66d72bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,10 +18,10 @@ public:
private: private:
virtual bool OnCreate() { return true; } virtual bool OnCreate() { return true; }
virtual void OnClose() { } virtual void OnClose() { }
virtual bool OnEvent(const SDL_Event& event) { return true;} virtual bool OnEvent(const SDL_Event& event) { return true;}
virtual bool OnUpdate(double frametime) { return true; } virtual bool OnUpdate(double frametime) { return true; }
virtual void OnRender(SDL_Renderer* renderer) { } virtual void OnRender(SDL_Renderer* renderer) { }
}; };
``` ```