diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2025-01-08 18:40:11 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2025-01-08 18:40:11 +0100 |
commit | ef3f5b0845ba127c0bfcda8c2fce37013fef3878 (patch) | |
tree | e5690ff875a662ee7603844e858d82428d973a78 /game/Random.cpp | |
parent | 424da5eb1500d90389d939cd0b3e6e75d729578d (diff) | |
parent | 2ad15f3efab481659543a1c03cd70a36fd297538 (diff) |
Merge branch 'master' of github.com:lonkaars/crepe into jaro/game
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; } |