blob: b47ebd76bf808e7c72e5318fd5a08c93c3739bdb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#pragma once
#include <entt/entity/registry.hpp>
#include <kurator/battles/Battle.h>
#include <kurator/battles/Scenario.h>
#include "RandomSpawner.h"
namespace kurator
{
namespace battles
{
class BaseBattle : public Battle
{
public:
BaseBattle(const Scenario& scenario);
entt::registry& registry() override;
void update(float dt) override;
private:
entt::registry _registry;
RandomSpawner spawner;
};
} // namespace battles
} // namespace kurator
|