diff options
Diffstat (limited to 'game/Random.cpp')
-rw-r--r-- | game/Random.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/game/Random.cpp b/game/Random.cpp index ace6245..64cf1f3 100644 --- a/game/Random.cpp +++ b/game/Random.cpp @@ -25,3 +25,5 @@ unsigned Random::u(unsigned upper, unsigned lower) { unsigned x = rand() % range; return x + lower; } + +bool Random::b() { return rand() % 2; } |