nsnake
Classic snake game for the terminal
|
Everything related to the terminal library Ncurses. More...
Functions | |
bool | init () |
Initializes Ncurses mode. | |
void | exit () |
Quits Ncurses mode. | |
void | delay_ms (int delay) |
Sleeps for #delay miliseconds. | |
int | getInput (int delay_ms=-1) |
Returns a pressed character within a timespan of delay_ms (milliseconds). More... | |
Everything related to the terminal library Ncurses.
int Ncurses::getInput | ( | int | delay_ms = -1 | ) |
Returns a pressed character within a timespan of delay_ms (milliseconds).
Definition at line 37 of file Ncurses.cpp.