< index
< 2. Console emulator
< 2.2 Drawing on the root console

=====================================
Reading the fade amount
=====================================

C++ : static uint8 TCODConsole::getFade()
C   : uint8 TCOD_console_get_fade()
Py  : console_get_fade()

This function returns the current fade amount, previously defined by setFade.
Example :

C++ : uint8 currentFade = TCODConsole::getFade();
C   : uint8 current_fade = TCOD_console_get_fade();
Py  : current_fade=libtcod.console_get_fade()

insert a comment