예제 #1
0
// Do your clean up of memory here
// This is called once just before the game exits
void shutdown()
{
    // Reset to white text on black background
	colour(FOREGROUND_BLUE | FOREGROUND_GREEN | FOREGROUND_RED);

    console.clearBuffer();
}
예제 #2
0
void clearScreen() {
    // Clears the buffer with this colour attribute
    console.clearBuffer(0x0F);
}