diff options
author | Max-001 <maxsmits21@kpnmail.nl> | 2025-01-08 12:53:10 +0100 |
---|---|---|
committer | Max-001 <maxsmits21@kpnmail.nl> | 2025-01-08 12:53:10 +0100 |
commit | 2e65d249e04e1450a4c45a4fb5d48213a75cf3e0 (patch) | |
tree | 087433201cc4dd7727cf8aac5f7950b857e8e66f /game/Random.h | |
parent | b5ed442444d7243935f7ba58c7d0e0ada743d230 (diff) | |
parent | c9c9702edc58ff8f40b13dc6b86b216421f79e9b (diff) |
Merge remote-tracking branch 'origin/master' into max/game2
Diffstat (limited to 'game/Random.h')
-rw-r--r-- | game/Random.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/game/Random.h b/game/Random.h new file mode 100644 index 0000000..cf05e87 --- /dev/null +++ b/game/Random.h @@ -0,0 +1,11 @@ +#pragma once + +class Random { +public: + static float f(float upper = 1.0, float lower = 0.0); + static double d(double upper = 1.0, double lower = 0.0); + static int i(int upper, int lower = 0); + static unsigned u(unsigned upper, unsigned lower = 0); + +}; + |