ClanSoft logo
ClanSoft logo

    CL_System::keep_alive

Syntax

static bool keep_alive();

Return value

Returns whether the program should now exit. It is very important, that the game exits, if keep_alive() returns true.

Description

This function must be called with short intervals. Used to update the system state, communicating with the underlying operating system, listening for keyboard/mouse events/input, etc.
A call to this function once every updated frame is sufficient and necessary.


Back to index



This page was built using the Perceps documentation system.