diff options
Diffstat (limited to 'battles/src/RandomSpawner.h')
-rw-r--r-- | battles/src/RandomSpawner.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/battles/src/RandomSpawner.h b/battles/src/RandomSpawner.h index 7505ae8..1ef2f20 100644 --- a/battles/src/RandomSpawner.h +++ b/battles/src/RandomSpawner.h @@ -4,6 +4,8 @@ #include <kurator/battles/components.h> +#include "Spawner.h" + namespace kurator { @@ -11,11 +13,11 @@ namespace battles { -class RandomSpawner +class RandomSpawner : public Spawner { public: RandomSpawner(int total_teams, double distance, double variation); - Transform get(int team); + Transform get(int team) override; private: const double angle_step; std::random_device device; |