Commit d3ebf7c9 authored by Ilya Prokhorov's avatar Ilya Prokhorov

Random bool

parent 1d04f4c4
......@@ -26,6 +26,10 @@ int FSCUtils::FSCRandomInt(int maximalInt) {
return randomInt;
bool FSCUtils::FSCRandomBool() {
return FSCRandomInt(2);
shared_ptr<string> FSCUtils::localizedString(shared_ptr<string> key) {
return key;
......@@ -22,6 +22,8 @@ public:
/*! FSCRandomUInt - return random unsigned integer from zero to maximalUInt*/
static int FSCRandomInt(int maximalInt);
static bool FSCRandomBool();
static shared_ptr<string> localizedString(shared_ptr<string> key);
virtual ~FSCUtils();
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment