summaryrefslogtreecommitdiff
path: root/battles/src/RandomSpawner.h
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-12-03 00:44:07 +0100
committerAki <please@ignore.pl>2022-12-03 00:44:07 +0100
commit18a763bcb19c5ece4b7b7d079dab07a1d915deb6 (patch)
tree137278522c98f5cb5cf4067886444b20b3eaf82d /battles/src/RandomSpawner.h
parent18eba7f30381c05ee1c03bec5f537ec7d4dc9815 (diff)
downloadkurator-18a763bcb19c5ece4b7b7d079dab07a1d915deb6.zip
kurator-18a763bcb19c5ece4b7b7d079dab07a1d915deb6.tar.gz
kurator-18a763bcb19c5ece4b7b7d079dab07a1d915deb6.tar.bz2
Moved battles module files to sim
Diffstat (limited to 'battles/src/RandomSpawner.h')
-rw-r--r--battles/src/RandomSpawner.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/battles/src/RandomSpawner.h b/battles/src/RandomSpawner.h
deleted file mode 100644
index 1ef2f20..0000000
--- a/battles/src/RandomSpawner.h
+++ /dev/null
@@ -1,30 +0,0 @@
-#pragma once
-
-#include <random>
-
-#include <kurator/battles/components.h>
-
-#include "Spawner.h"
-
-
-namespace kurator
-{
-namespace battles
-{
-
-
-class RandomSpawner : public Spawner
-{
-public:
- RandomSpawner(int total_teams, double distance, double variation);
- Transform get(int team) override;
-private:
- const double angle_step;
- std::random_device device;
- std::uniform_real_distribution<double> distribution_d;
- std::uniform_real_distribution<double> distribution_a;
-};
-
-
-} // namespace battles
-} // namespace kurator