aboutsummaryrefslogtreecommitdiff
path: root/src/example/script.cpp
diff options
context:
space:
mode:
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;
}
-