menu pauses game, able to resume the game. exit game by pause menu

This commit is contained in:
Remco
2016-06-20 15:20:12 +02:00
parent 03c06e0974
commit 98f3645b6b
5 changed files with 77 additions and 42 deletions
+2 -2
View File
@@ -22,8 +22,8 @@ Button::Button(const std::string & text, Vec2f position, float width, float heig
Button::~Button()
{
if (action != nullptr)
delete action;
/*if (action != nullptr)
delete action;*/
}
void Button::draw(void)