![]() |
Dragonfly 2.2
A text-based game engine
|
Public Member Functions | |
Fraps (bool do_record=false) | |
Frames per second meter (with option to record screen) defaults: TOP_RIGHT, green, don't record. | |
int | eventHandler (Event *p_e) |
Handle event each step, f9 to hide, f12 to toggle recording. | |
void | setRecord (bool new_record) |
Set whether record or not, opens new file if turn on. | |
bool | getRecord () |
Protected Attributes | |
bool | do_record |
true if recording | |
Clock | clock |
for computing frame rate | |
FILE * | screen_fp |
output file handle |