aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic2/LoadGoods.hpp
diff options
context:
space:
mode:
author Wolfgang Aigner <wolfgang.aigner@yahoo.de>2023-04-06 18:44:07 +0200
committer Wolfgang Aigner <wolfgang.aigner@yahoo.de>2023-04-06 18:44:07 +0200
commit98dd680a641a2cbe0f1f93202a5beffdfd35c9f7 (patch)
tree1041c2aa577c3523faf37f362f1b50614004c242 /extension/src/openvic2/LoadGoods.hpp
parent383583733b2f4cd8c5e632c160afdb987b8615af (diff)
Changed type of cost in Good.hpp/.cpp + codestyle
Diffstat (limited to 'extension/src/openvic2/LoadGoods.hpp')
-rw-r--r--extension/src/openvic2/LoadGoods.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/extension/src/openvic2/LoadGoods.hpp b/extension/src/openvic2/LoadGoods.hpp
index 41dd75e..38b8c7b 100644
--- a/extension/src/openvic2/LoadGoods.hpp
+++ b/extension/src/openvic2/LoadGoods.hpp
@@ -1,13 +1,13 @@
#pragma once
+#include "Good.hpp"
-#include <godot_cpp/classes/object.hpp>
#include <vector>
-#include "Good.hpp"
+#include <godot_cpp/classes/object.hpp>
namespace OpenVic2 {
class LoadGoods {
private:
- static bool extract_property_from_json(const godot::Variant& variant, std::vector<Good>& goods, int32_t index);
+ static bool extract_property_from_json(godot::Variant const& variant, std::vector<Good>& goods, int32_t index);
public:
static std::vector<Good> load_goods_from_disk(godot::String const& file_path);