You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
329 B
22 lines
329 B
#include "Settings.h"
|
|
|
|
Settings * Settings::_instance = 0;
|
|
|
|
Settings * Settings::instance(){
|
|
if(_instance == 0){
|
|
_instance = new Settings();
|
|
}
|
|
return _instance;
|
|
}
|
|
|
|
Settings::Settings(){
|
|
_fullscreen = false;
|
|
}
|
|
|
|
void Settings::setFullscreen(bool f){
|
|
_fullscreen = f;
|
|
}
|
|
|
|
bool Settings::getFullscreen(){
|
|
return _fullscreen;
|
|
}
|