aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-07 10:46:46 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-07 10:46:46 +0100
commit54f4a322e939dcdb62ab9fbf919bf8cb4b6f7b75 (patch)
tree6f740f929ab1f358ae96795f92341565304af3ce /src/crepe/api
parent3a5201961ce31d415042c6273d03e46aed7e6eb8 (diff)
fix script example segmentation fault
Diffstat (limited to 'src/crepe/api')
-rw-r--r--src/crepe/api/BehaviorScript.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/crepe/api/BehaviorScript.h b/src/crepe/api/BehaviorScript.h
index 21638f4..6b1fec7 100644
--- a/src/crepe/api/BehaviorScript.h
+++ b/src/crepe/api/BehaviorScript.h
@@ -5,12 +5,9 @@
#include "../Component.h"
namespace crepe {
+
class ScriptSystem;
class ComponentManager;
-} // namespace crepe
-
-namespace crepe {
-
class Script;
class BehaviorScript : public Component {