blob: 599516435d7ff39ff1a71e158eca57e6a943aeb9 (
plain) (
blame)
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
|
#pragma once
#include "openvic-simulation/military/LeaderTrait.hpp"
#include "openvic-simulation/military/UnitType.hpp"
namespace OpenVic {
struct Leader {
private:
std::string PROPERTY(name);
UnitType::branch_t PROPERTY(branch); /* type in defines */
Date PROPERTY(date);
LeaderTrait const* PROPERTY(personality);
LeaderTrait const* PROPERTY(background);
fixed_point_t PROPERTY(prestige);
std::string PROPERTY(picture);
public:
Leader(
std::string_view new_name, UnitType::branch_t new_branch, Date new_date, LeaderTrait const* new_personality,
LeaderTrait const* new_background, fixed_point_t new_prestige, std::string_view new_picture
);
Leader(Leader&&) = default;
};
}
|