45 void SetTitle(
const std::string& newTitle);
A window that asks the user if they want to save before quitting.
Definition: SavePromptWindow.hpp:9
bool IsVisible() const
Get whether the window is visible.
Definition: SavePromptWindow.cpp:48
void Show()
Show the window and let the user decide if they want to save.
Definition: SavePromptWindow.cpp:10
void SetDecision(int option)
Sets decision to true or false.
Definition: SavePromptWindow.cpp:56
void SetVisible(bool visible)
Set whether the window should be visible.
Definition: SavePromptWindow.cpp:52
int GetDecision() const
Fetches what the player picked.
Definition: SavePromptWindow.cpp:36
void SetTitle(const std::string &newTitle)
Set the title of the window.
Definition: SavePromptWindow.cpp:44
void ResetDecision()
Resets the decision to -1.
Definition: SavePromptWindow.cpp:40
Definition: AssetEditor.hpp:9