Game Develop Core: gd::ConditionSentenceFormatter Class Reference

| Game Develop Core Core library for developing platforms and tools compatible with Game Develop.

- Main Page
- Modules
- Classes

- Class List
- Class Index
- Class Hierarchy

All Classes Files Functions Variables Typedefs Enumerations Macros Groups Pages
Static Public Member Functions | List of all members
gd::ConditionSentenceFormatter Class Reference

Generate user friendly sentences and information from a condition. More...

`#include <ConditionSentenceFormatter.h>`

## Static Public Member Functions

static std::string | Translate (const gd::Instruction &condition, const gd::InstructionMetadata &infos)
| Create a sentence from a condition.
static std::vector< std::pair < std::string, TextFormatting > > | GetAsFormattedText (const gd::Instruction &condition, const gd::InstructionMetadata &infos)
| Create a formatted sentence from a condition.
static TextFormatting | GetFormattingFromType (const std::string &type)
| Return the TextFormatting object associated to the type.
static std::string | LabelFromType (const std::string &type)
| Return the label of a button from parameter type.
static wxBitmap | BitmapFromType (const std::string &type)
| Return the bitmap of a button from parameter type.

## Detailed Description

Generate user friendly sentences and information from a condition.

Implementation of the class is largely based on calls to gd::ActionSentenceFormatter.

See Also
  gd::ActionSentenceFormatter

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

- ConditionSentenceFormatter.h
- ConditionSentenceFormatter.cpp