aboutsummaryrefslogtreecommitdiff
path: root/src/example/script.cpp
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-10-16 17:05:46 +0200
committermax-001 <maxsmits21@kpnmail.nl>2024-10-16 17:05:46 +0200
commitd21afe5b33b4cb3f5cf1917f4d15f402de41a032 (patch)
tree6101e8c185bc2989b19b9db544353b32de35198d /src/example/script.cpp
parent018f6209378a0c30c1e44fba2f80888553b9f67c (diff)
Make format
Diffstat (limited to 'src/example/script.cpp')
-rw-r--r--src/example/script.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/example/script.cpp b/src/example/script.cpp
index 28605c7..a610b83 100644
--- a/src/example/script.cpp
+++ b/src/example/script.cpp
@@ -3,10 +3,10 @@
* Standalone example for usage of the script component and system
*/
-#include <crepe/util/log.h>
-#include <crepe/ScriptSystem.h>
#include <crepe/ComponentManager.h>
#include <crepe/GameObject.h>
+#include <crepe/ScriptSystem.h>
+#include <crepe/util/log.h>
#include <crepe/api/BehaviorScript.h>
@@ -14,9 +14,7 @@ using namespace crepe;
using namespace std;
class MyScript : public api::BehaviorScript {
- void update() {
- dbg_trace();
- }
+ void update() { dbg_trace(); }
};
int main() {
@@ -30,4 +28,3 @@ int main() {
return 0;
}
-