PGE Engine
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
Static Public Member Functions | Static Public Attributes | List of all members
PGE_Debugger Class Reference

The PGE_Debugger class contains flags to enable/disable special debug features of engine. More...

#include <debugger.h>

Static Public Member Functions

static void executeCommand (Scene *parent)
 Spawn text input box where user can type a special command which will be executed. More...
 
static void resetEverything ()
 Sets all cheat flags to "false".
 
static void setRestriction (bool denyed)
 Toggles restriction to execution of cheating commands. More...
 

Static Public Attributes

static bool cheat_allowed =true
 Allows cheating features such a god mode, chuck-norris, superman, etc.
 
static bool cheat_pagangod =false
 All Playable characters are will take no damage from enemies/bullets and there are will not burn in lava.
 
static bool cheat_chucknorris =false
 Allows to playable character destroy any nearest objects at front, at top or at bottom via Alt-Run key.
 
static bool cheat_superman =false
 Allows playable characterls unlimitely fly up via Alt-Jump key.
 
static bool cheat_worldfreedom =false
 Allows playable character walk everywhere on world map with no limits.
 

Detailed Description

The PGE_Debugger class contains flags to enable/disable special debug features of engine.

Member Function Documentation

void PGE_Debugger::executeCommand ( Scene parent)
static

Spawn text input box where user can type a special command which will be executed.

Parameters
parentPointer to scene where typed command will be executed
void PGE_Debugger::setRestriction ( bool  denyed)
static

Toggles restriction to execution of cheating commands.

Parameters
denyedenable restriction to execution of cheating commands

The documentation for this class was generated from the following files: