#include "game.h" GameState::GameState(): closed_ {false}, paused_ {false} { } void GameState::close(){ closed_ = true; } void GameState::pause(){ paused_ = true; } void GameState::resume(){ paused_ = false; } bool GameState::isPaused(){ return paused_; } bool GameState::isClosed(){ return closed_; }