< index < 2. Console emulator < 2.2 Drawing on the root console |
===================================== |
C++ : int TCODConsole::getChar(int x, int y) const C : int TCOD_console_get_char(TCOD_console_t con,int x, int y) Py : console_get_char(con,x,y)This function returns the current ASCII code of a cell.
Parameter | Description |
---|---|
con | In the C version, the offscreen console handler or NULL for the root console. |
x,y | Coordinates of the cell in the console. 0 <= x < console width 0 <= y < console height |