aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/military/Leader.hpp
blob: 180fd39b0abbc33f35acca9af89b35154f5331db (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
#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
      );
   };
}