aboutsummaryrefslogtreecommitdiff
path: root/src/example/script.cpp
diff options
context:
space:
mode:
authorjaroWMR <jarorutjes07@gmail.com>2024-10-20 13:07:02 +0200
committerjaroWMR <jarorutjes07@gmail.com>2024-10-20 13:07:02 +0200
commit4ff1159fe5f6ee6dd8becc662bc95a93acda545a (patch)
tree670caa42ad4ffbf007a6d7cba683f4f84af87592 /src/example/script.cpp
parent0f03cdbf23f57116b7664a7c98c4605fd69bb961 (diff)
parent77555730e3ddb811b9ce8470659663e3f1573de2 (diff)
Merge branch 'master' of github.com:lonkaars/crepe into jaro/poc-physics
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;
}
-