diff options
author | Hop311 <hop3114@gmail.com> | 2023-05-22 11:26:37 +0200 |
---|---|---|
committer | Hop311 <hop3114@gmail.com> | 2023-05-22 11:26:37 +0200 |
commit | 212d591c31f4200b06d38e98b23c5c2bccde1772 (patch) | |
tree | 6a9964038de099006036c693b49080bf544d3747 /src/openvic/map/Province.cpp | |
parent | 15e960f93ced8c94a6a45ebb2b44d0705ff7f8f6 (diff) |
Formatting / style cleanup
Diffstat (limited to 'src/openvic/map/Province.cpp')
-rw-r--r-- | src/openvic/map/Province.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/openvic/map/Province.cpp b/src/openvic/map/Province.cpp index b169021..d2a5ecf 100644 --- a/src/openvic/map/Province.cpp +++ b/src/openvic/map/Province.cpp @@ -1,13 +1,16 @@ #include "Province.hpp" #include <cassert> -#include <sstream> #include <iomanip> +#include <sstream> using namespace OpenVic; -Province::Province(index_t new_index, std::string const& new_identifier, colour_t new_colour) : - HasIdentifier{ new_identifier }, HasColour{ new_colour }, index{ new_index }, buildings{ "buildings" } { +Province::Province(index_t new_index, std::string const& new_identifier, colour_t new_colour) + : HasIdentifier { new_identifier }, + HasColour { new_colour }, + index { new_index }, + buildings { "buildings" } { assert(index != NULL_INDEX); } @@ -66,7 +69,6 @@ std::string Province::to_string() const { void Province::update_state(Date const& today) { for (Building& building : buildings.get_items()) building.update_state(today); - } void Province::tick(Date const& today) { |