diff options
author | max-001 <maxsmits21@kpnmail.nl> | 2024-10-16 17:05:46 +0200 |
---|---|---|
committer | max-001 <maxsmits21@kpnmail.nl> | 2024-10-16 17:05:46 +0200 |
commit | d21afe5b33b4cb3f5cf1917f4d15f402de41a032 (patch) | |
tree | 6101e8c185bc2989b19b9db544353b32de35198d /mwe/ecs-homemade/inc/Components.h | |
parent | 018f6209378a0c30c1e44fba2f80888553b9f67c (diff) |
Make format
Diffstat (limited to 'mwe/ecs-homemade/inc/Components.h')
-rw-r--r-- | mwe/ecs-homemade/inc/Components.h | 6 |
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(); |