summaryrefslogtreecommitdiff
path: root/src/utils/RandomGenerator.h
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2021-07-14 11:49:10 +1200
committerJedidiah Barber <contact@jedbarber.id.au>2021-07-14 11:49:10 +1200
commitd24f813f3f2a05c112e803e4256b53535895fc98 (patch)
tree601e6ae9a1cd44bcfdcf91739a5ca36aedd827c9 /src/utils/RandomGenerator.h
Initial mirror commitHEADmaster
Diffstat (limited to 'src/utils/RandomGenerator.h')
-rw-r--r--src/utils/RandomGenerator.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/utils/RandomGenerator.h b/src/utils/RandomGenerator.h
new file mode 100644
index 0000000..da36070
--- /dev/null
+++ b/src/utils/RandomGenerator.h
@@ -0,0 +1,16 @@
+#ifndef RANDOM_GENERATOR_H
+#define RANDOM_GENERATOR_H
+
+#include "IRandomGenerator.h"
+
+class RandomGenerator: public IRandomGenerator
+{
+public:
+ RandomGenerator();
+ double getInRange_11() const;
+ double getInRange_01() const;
+ int getRand() const;
+ int getRand(int maxNum) const;
+ QByteArray getArray() const;
+};
+#endif