diff options
Diffstat (limited to 'battles/src/RandomSpawner.h')
-rw-r--r-- | battles/src/RandomSpawner.h | 30 |
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 |