#include <RainFrameListener.h>
Public Member Functions | |
RainFrameListener (RenderWindow *win, Camera *cam, SceneNode *ViewNode, SceneNode *CameraNode, CloseDropsParticles *syst) | |
bool | frameStarted (const FrameEvent &evt) |
bool | frameEnded (const FrameEvent &evt) |
Protected Member Functions | |
void | updateStats (void) |
void | displayMessage (String text) |
|
standard constructor
|
|
function to set a specific text on the stats overlay |
|
this function is called just after a frame gets rendered |
|
this function is called just before a frame gets rendered Contains reactions to user input (keyboard, mouse), and calls for particle system update |
|
function to update the text of the overlay with fps stats |