aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/BehaviorScript.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-17 17:15:53 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-17 17:15:53 +0200
commita2c719948ff8af9abe267c4d1c9b16cd1e2fb317 (patch)
treeb2509bc9d435e7efc0afdf99f82a8b483f65758f /src/crepe/api/BehaviorScript.h
parent9fd3bdca9de2d37b63e1646b22d32b0b182f01ee (diff)
`make format`
Diffstat (limited to 'src/crepe/api/BehaviorScript.h')
-rw-r--r--src/crepe/api/BehaviorScript.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/crepe/api/BehaviorScript.h b/src/crepe/api/BehaviorScript.h
index 756c2ca..b8263ca 100644
--- a/src/crepe/api/BehaviorScript.h
+++ b/src/crepe/api/BehaviorScript.h
@@ -7,7 +7,7 @@
namespace crepe {
class ScriptSystem;
class ComponentManager;
-}
+} // namespace crepe
namespace crepe::api {
@@ -17,11 +17,12 @@ class BehaviorScript : public Component {
protected:
friend class crepe::ComponentManager;
BehaviorScript();
+
public:
virtual ~BehaviorScript() = default;
public:
- template<class T>
+ template <class T>
BehaviorScript & set_script();
protected:
@@ -29,7 +30,6 @@ protected:
std::unique_ptr<Script> script = nullptr;
};
-}
+} // namespace crepe::api
#include "BehaviorScript.hpp"
-