blob: 769af099691d043639eb02b9d2c0ba729f3e7d87 (
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
|
#pragma once
#include <functional>
#include <string>
#include <kurator/universe/Repository.h>
#include <kurator/universe/ShipType.h>
#include <kurator/universe/TurretType.h>
namespace kurator
{
namespace universe
{
class SampleRepository : public Repository
{
public:
ShipType ship_type(const std::string& id) const override;
TurretType turret_type(const std::string& id) const override;
void for_ship_types(std::function<void(const ShipType&)> func) const;
void for_turret_types(std::function<void(const TurretType&)> func) const;
};
} // namespace universe
} // namespace kurator
|