aboutsummaryrefslogtreecommitdiff
path: root/game/player/PlayerSubScene.cpp
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2025-01-08 13:52:43 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2025-01-08 13:52:43 +0100
commitfcec9d7598f0808d4081120a9cb2036bdea59737 (patch)
tree4963d2f791a4c3ba27d357ad38345094a8e65fc4 /game/player/PlayerSubScene.cpp
parent1413beea3b506b15b9f0080cec29c745d1ef88da (diff)
make format
Diffstat (limited to 'game/player/PlayerSubScene.cpp')
-rw-r--r--game/player/PlayerSubScene.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/game/player/PlayerSubScene.cpp b/game/player/PlayerSubScene.cpp
index 1203ca0..cf11162 100644
--- a/game/player/PlayerSubScene.cpp
+++ b/game/player/PlayerSubScene.cpp
@@ -149,7 +149,8 @@ PlayerSubScene::PlayerSubScene(Scene & scn) {
.body_type = Rigidbody::BodyType::DYNAMIC,
//.linear_velocity = vec2(PLAYER_SPEED * 0.02, 0),
.collision_layers
- = {COLL_LAY_BOT_TOP, COLL_LAY_ZAPPER, COLL_LAY_LASER, COLL_LAY_MISSILE,COLL_LAY_BULLET},
+ = {COLL_LAY_BOT_TOP, COLL_LAY_ZAPPER, COLL_LAY_LASER, COLL_LAY_MISSILE, COLL_LAY_BULLET
+ },
.collision_layer = COLL_LAY_PLAYER,
});
player.add_component<BehaviorScript>().set_script<PlayerScript>().active = true;