VoltAir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
DebugManager Class Reference

Class to manage debug options defined in debug.json data file. More...

Public Member Functions

LevelProgressiongetDebugLevelProgression () const
 Returns the LevelProgression constructed from debug option data. More...
 

Static Public Member Functions

static DebugManagergetInstance ()
 Returns the singleton instance of DebugManager. More...
 

Detailed Description

Class to manage debug options defined in debug.json data file.

Currently, the debug.json data file is a JSON object of the following format:

This class is used by Game to bypass the normal UI flow and launch the game directly into specified levels for debugging.

Member Function Documentation

LevelProgression* DebugManager::getDebugLevelProgression ( ) const
inline

Returns the LevelProgression constructed from debug option data.

The constructed LevelProgression consists of a single Environment filled with a list of LevelInfos named after the level asset filenames.

static DebugManager* DebugManager::getInstance ( )
static

Returns the singleton instance of DebugManager.