aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/ComponentManager.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-13 12:19:56 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-13 12:19:56 +0100
commit87c74782e486647c46f9ca4d2f857094006e563c (patch)
treec8e0b893610cb90d7bd7578c3d076b7e905c822a /src/crepe/ComponentManager.h
parentec3601fbc17a38a44608a04f53d4e36c1bff8c96 (diff)
`make format`
Diffstat (limited to 'src/crepe/ComponentManager.h')
-rw-r--r--src/crepe/ComponentManager.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/crepe/ComponentManager.h b/src/crepe/ComponentManager.h
index 1d67e69..75606e0 100644
--- a/src/crepe/ComponentManager.h
+++ b/src/crepe/ComponentManager.h
@@ -1,10 +1,10 @@
#pragma once
+#include <forward_list>
#include <memory>
#include <typeindex>
#include <unordered_map>
#include <vector>
-#include <forward_list>
#include "Component.h"
#include "api/Vector2.h"
@@ -101,7 +101,10 @@ public:
std::vector<std::reference_wrapper<T>> get_components_by_type() const;
// TODO: doxygen
- GameObject & new_object(const std::string & name, const std::string & tag = "", const Vector2 & position = { 0, 0 }, double rotation = 0, double scale = 0);
+ GameObject & new_object(const std::string & name,
+ const std::string & tag = "",
+ const Vector2 & position = {0, 0},
+ double rotation = 0, double scale = 0);
private:
/**