aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/military/Leader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/military/Leader.cpp')
-rw-r--r--src/openvic-simulation/military/Leader.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/openvic-simulation/military/Leader.cpp b/src/openvic-simulation/military/Leader.cpp
new file mode 100644
index 0000000..d6be36f
--- /dev/null
+++ b/src/openvic-simulation/military/Leader.cpp
@@ -0,0 +1,9 @@
+#include "Leader.hpp"
+
+using namespace OpenVic;
+
+Leader::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
+) : name { new_name }, branch { new_branch }, date { new_date }, personality { new_personality }, background { new_background },
+ prestige { new_prestige }, picture { new_picture } {} \ No newline at end of file