< index < 2. Console emulator < 2.2 Drawing on the root console |
===================================== |
C++ : TCODColor TCODConsole::getBack(int x, int y) const C : TCOD_color_t TCOD_console_get_back(TCOD_console_t con,int x, int y) Py : console_get_back(con,x,y)This function returns the current background color 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 |