aboutsummaryrefslogtreecommitdiff
path: root/game/Random.h
diff options
context:
space:
mode:
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);
+
+};
+