Mania++
 All Classes Functions Variables Pages
Static Public Member Functions | List of all members
GameModeConverter Class Reference

Converts enum values into usable strings. More...

#include <GameMode.h>

Static Public Member Functions

static std::string GetName (GameMode mode)
 Converts enum value into usable string. More...
 
static std::string GetDediName (GameMode mode)
 Converts enum value into usable Dedimania-accepted string (so only TA or Rounds - n/a if not Dedi-accepted). More...
 

Detailed Description

Converts enum values into usable strings.

Member Function Documentation

static std::string GameModeConverter::GetDediName ( GameMode  mode)
inlinestatic

Converts enum value into usable Dedimania-accepted string (so only TA or Rounds - n/a if not Dedi-accepted).

Parameters
modeMode to convert.
static std::string GameModeConverter::GetName ( GameMode  mode)
inlinestatic

Converts enum value into usable string.

Parameters
modeMode to convert.

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