#include <sgEvents.h>
Public Member Functions | |
virtual void | onDraw (float timestep) |
Event class. Inherit from this one and assign an instance of it to the view to handle engine events.
void sgEvents::onDraw | ( | float | timestep | ) | [virtual] |
On draw. This function is called every frame just before anything gets rendered.
timestep | time in seconds since the last frame was rendered |