some progress concerning IMGUI widgets (added simple text input)
This commit is contained in:
+6
-1
@@ -17,10 +17,15 @@ class Model : public Engine::ModelBase {
|
||||
/** \brief Resets values from a previous game */
|
||||
void OnNewGame ();
|
||||
|
||||
virtual void SetGameState (const unsigned int &state);
|
||||
|
||||
int GetPlayerLives () { return mPlayerLives; };
|
||||
unsigned int GetPoints () { return mPoints; };
|
||||
std::string GetPlayerName() { return mPlayerName; };
|
||||
void SetPlayerName(const std::string &name) { mPlayerName = name; };
|
||||
void SetPlayerName(const std::string &name) {
|
||||
Engine::LogDebug("new player name: %s", name.c_str());
|
||||
mPlayerName = name;
|
||||
};
|
||||
|
||||
float GetWorldWidth ();
|
||||
float GetWorldHeight ();
|
||||
|
||||
Reference in New Issue
Block a user