mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-19 00:42:14 -07:00
new properties
This commit is contained in:
parent
bb4214e28a
commit
25ab53fac4
2 changed files with 13 additions and 0 deletions
|
|
@ -15,3 +15,13 @@ bool DebugSettings::getShowCardId()
|
||||||
{
|
{
|
||||||
return getValue("showCardId", "debug").toBool();
|
return getValue("showCardId", "debug").toBool();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool DebugSettings::getLocalGameOnStartup()
|
||||||
|
{
|
||||||
|
return getValue("onStartup", "localgame").toBool();
|
||||||
|
}
|
||||||
|
|
||||||
|
int DebugSettings::getLocalGamePlayerCount()
|
||||||
|
{
|
||||||
|
return getValue("playerCount", "localgame").toInt();
|
||||||
|
}
|
||||||
|
|
@ -12,6 +12,9 @@ class DebugSettings : public SettingsManager
|
||||||
|
|
||||||
public:
|
public:
|
||||||
bool getShowCardId();
|
bool getShowCardId();
|
||||||
|
|
||||||
|
bool getLocalGameOnStartup();
|
||||||
|
int getLocalGamePlayerCount();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // DEBUG_SETTINGS_H
|
#endif // DEBUG_SETTINGS_H
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue