diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-07 14:18:54 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-07 14:18:54 +0100 |
commit | 90c6bf03e59fdec64f850310bcbff45ae86f69e3 (patch) | |
tree | f80305e8b712e17c41a1860ec82a139842c67ba0 /src/test/ScriptTest.cpp | |
parent | f4824f5e7e6cee12bec602f3240770945a73d043 (diff) |
more script utilities
Diffstat (limited to 'src/test/ScriptTest.cpp')
-rw-r--r-- | src/test/ScriptTest.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/ScriptTest.cpp b/src/test/ScriptTest.cpp index 1d2d6dd..b0b2546 100644 --- a/src/test/ScriptTest.cpp +++ b/src/test/ScriptTest.cpp @@ -6,7 +6,6 @@ #define protected public #include "ScriptTest.h" -#include <crepe/api/GameObject.h> using namespace std; using namespace crepe; @@ -14,7 +13,6 @@ using namespace testing; void ScriptTest::SetUp() { auto & mgr = this->component_manager; - GameObject entity = mgr.new_object("name"); BehaviorScript & component = entity.add_component<BehaviorScript>(); this->behaviorscript = component; @@ -75,3 +73,4 @@ TEST_F(ScriptTest, UpdateInactive) { system.update(); } } + |