Package fortuneengine :: Module GameEngineConsole :: Class GameEngineConsole
[hide private]
[frames] | no frames]

Class GameEngineConsole

source code

pyconsole.pyconsole.Console --+
                              |
                             GameEngineConsole

GameEngineConsole is a class that extends the pyconsole adding in game engine specific functions.

Instance Methods [hide private]
 
__init__(self, gei, pos)
Init function of the GameEngineConsole
source code
 
console_mode(self)
Switches console between console and python interpreter
source code

Inherited from pyconsole.pyconsole.Console: add_func_calls, add_key_calls, add_to_history, catch_output, clear, clear_input, convert_token, draw, format_input_line, getvar, getvars, help, init_default_cfg, load_cfg, output, process_input, release_output, safe_set_attr, send_pyconsole, send_python, set_active, set_interpreter, set_pos, setvar, setvars, str_insert, submit_input, tokenize

Method Details [hide private]

__init__(self, gei, pos)
(Constructor)

source code 

Init function of the GameEngineConsole

Parameters:
  • gei - Passing in the Game Engine Instance.
  • pos - The position tuple to place the pyconsole (startx, starty, width, height)
Overrides: pyconsole.pyconsole.Console.__init__