SDL Breakout Engine
0.1.0
An implementation of a Breakout game using sdl, implemented with efficient resource management.
|
#include <LocalizationManager.hpp>
Public Member Functions | |
Translator (std::map< wstring, wstring > phraseTranslations) | |
wstring | translate (wstring s1) |
A translator for a game, between the 2 languages the game wants to use.
Translator::Translator | ( | std::map< wstring, wstring > | phraseTranslations | ) |
Initialize with a mapping from phrase to phrase
phraseTranslations | the mapping |
wstring Translator::translate | ( | wstring | s1 | ) |
Translates a string into another language
s1 |