menu pauses game, able to resume the game. exit game by pause menu
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user