aboutsummaryrefslogtreecommitdiff
path: root/mwe/ecs-homemade/inc/Components.h
diff options
context:
space:
mode:
Diffstat (limited to 'mwe/ecs-homemade/inc/Components.h')
-rw-r--r--mwe/ecs-homemade/inc/Components.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/mwe/ecs-homemade/inc/Components.h b/mwe/ecs-homemade/inc/Components.h
index b392fd0..ad491e7 100644
--- a/mwe/ecs-homemade/inc/Components.h
+++ b/mwe/ecs-homemade/inc/Components.h
@@ -1,7 +1,7 @@
#pragma once
-#include <string>
#include <memory>
+#include <string>
class Component {
public:
@@ -40,7 +40,7 @@ public:
virtual void onUpdate() = 0;
};
-template<typename T>
+template <typename T>
class BehaviourWrapper : public IBehaviour {
public:
BehaviourWrapper();
@@ -53,7 +53,7 @@ private:
class BehaviourScript : public Component {
public:
- template<typename T>
+ template <typename T>
void addScript();
void onStart();