aboutsummaryrefslogtreecommitdiff
path: root/game/preview
diff options
context:
space:
mode:
Diffstat (limited to 'game/preview')
-rw-r--r--game/preview/PrevPlayerScript.cpp2
-rw-r--r--game/preview/PrevPlayerSubScene.cpp3
2 files changed, 2 insertions, 3 deletions
diff --git a/game/preview/PrevPlayerScript.cpp b/game/preview/PrevPlayerScript.cpp
index 3e6eed4..fce5c5a 100644
--- a/game/preview/PrevPlayerScript.cpp
+++ b/game/preview/PrevPlayerScript.cpp
@@ -2,9 +2,9 @@
#include "../missile/SpawnEvent.h"
-#include <crepe/api/Transform.h>
#include <crepe/api/AudioSource.h>
#include <crepe/api/Camera.h>
+#include <crepe/api/Transform.h>
#include <crepe/manager/SaveManager.h>
using namespace crepe;
diff --git a/game/preview/PrevPlayerSubScene.cpp b/game/preview/PrevPlayerSubScene.cpp
index 3f5a5d5..9ff111c 100644
--- a/game/preview/PrevPlayerSubScene.cpp
+++ b/game/preview/PrevPlayerSubScene.cpp
@@ -17,8 +17,7 @@ using namespace crepe;
PrevPlayerSubScene::PrevPlayerSubScene(Scene & scn) {
- GameObject player
- = scn.new_object("player", "player", vec2 {800 , -100}, 0, 1);
+ GameObject player = scn.new_object("player", "player", vec2 {800, -100}, 0, 1);
Asset player_body_asset {"asset/barry/defaultBody.png"};
Sprite & player_body_sprite = player.add_component<Sprite>(
player_body_asset,