summaryrefslogtreecommitdiff
path: root/sim/src/BaseBattle.h
blob: 3e986581bdd3afa27139dd975e3e9218eaaf400e (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
31
32
#pragma once

#include <kurator/engine/Context.h>
#include <kurator/campaign/Scenario.h>
#include <kurator/sim/Battle.h>
#include <kurator/sim/State.h>
#include <kurator/sim/System.h>

#include "TeamManager.h"


namespace kurator
{
namespace sim
{


class BaseBattle : public Battle
{
public:
	explicit BaseBattle(const campaign::Scenario& scenario);
	engine::Context context() override;
	engine::ConstContext const_context() const override;
	void update(engine::Context& ctx) override;
private:
	State state;
	System base;
};


}  // namespace sim
}  // namespace kurator