aboutsummaryrefslogtreecommitdiff
path: root/game/Random.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2025-01-08 09:58:34 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2025-01-08 09:58:34 +0100
commitb8acb539a3580bf0665fe435c55f33ba16cb507e (patch)
tree34665fbccaffef115876c2f6670fba0d70314e03 /game/Random.h
parentf8ffac3b14d41e7d1e43ffe64750d910ed333b0d (diff)
WIP
Diffstat (limited to 'game/Random.h')
-rw-r--r--game/Random.h11
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);
+
+};
+