diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-12-06 15:42:52 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-12-06 15:42:52 +0100 |
commit | 70c1cd14ec4c4aca185d5a7e4a3749169f6425f4 (patch) | |
tree | c38250a2fa555f789a95ffe34510d8e9ab54ad84 /src/test | |
parent | e882a9787919b4e804878e5458c535342a718a08 (diff) |
make format
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/CollisionTest.cpp | 6 | ||||
-rw-r--r-- | src/test/Profiling.cpp | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/test/CollisionTest.cpp b/src/test/CollisionTest.cpp index a683b1f..dd45eb6 100644 --- a/src/test/CollisionTest.cpp +++ b/src/test/CollisionTest.cpp @@ -7,14 +7,14 @@ #define private public #define protected public -#include <crepe/manager/ComponentManager.h> -#include <crepe/manager/Mediator.h> #include <crepe/api/Event.h> -#include <crepe/manager/EventManager.h> #include <crepe/api/GameObject.h> #include <crepe/api/Rigidbody.h> #include <crepe/api/Script.h> #include <crepe/api/Transform.h> +#include <crepe/manager/ComponentManager.h> +#include <crepe/manager/EventManager.h> +#include <crepe/manager/Mediator.h> #include <crepe/system/CollisionSystem.h> #include <crepe/system/ScriptSystem.h> #include <crepe/types.h> diff --git a/src/test/Profiling.cpp b/src/test/Profiling.cpp index 6a6c29f..24ac494 100644 --- a/src/test/Profiling.cpp +++ b/src/test/Profiling.cpp @@ -9,14 +9,14 @@ #define private public #define protected public -#include <crepe/manager/ComponentManager.h> #include <crepe/api/Event.h> -#include <crepe/manager/EventManager.h> #include <crepe/api/GameObject.h> #include <crepe/api/ParticleEmitter.h> #include <crepe/api/Rigidbody.h> #include <crepe/api/Script.h> #include <crepe/api/Transform.h> +#include <crepe/manager/ComponentManager.h> +#include <crepe/manager/EventManager.h> #include <crepe/system/CollisionSystem.h> #include <crepe/system/ScriptSystem.h> #include <crepe/types.h> @@ -162,7 +162,7 @@ TEST_F(Profiling, Profiling_2) { .body_type = Rigidbody::BodyType::STATIC, }); gameobject.add_component<BoxCollider>(vec2{0, 0}, vec2{1, 1}); - + gameobject.add_component<BehaviorScript>().set_script<TestScript>(); Color color(0, 0, 0, 0); auto img = Texture("asset/texture/square.png"); |