aboutsummaryrefslogtreecommitdiff
path: root/game/enemy/EnemySubScene.cpp
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2025-01-09 14:54:51 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2025-01-09 14:54:51 +0100
commitb091cb7910fa82e9fb00abdb163d277ba574f804 (patch)
treec82defc3d95ee95144207285efd4be7ae75c97d8 /game/enemy/EnemySubScene.cpp
parent843d27e8f68bf3d3d39baedb7a5c53154160afd7 (diff)
make format
Diffstat (limited to 'game/enemy/EnemySubScene.cpp')
-rw-r--r--game/enemy/EnemySubScene.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/game/enemy/EnemySubScene.cpp b/game/enemy/EnemySubScene.cpp
index edc537f..fe9fd63 100644
--- a/game/enemy/EnemySubScene.cpp
+++ b/game/enemy/EnemySubScene.cpp
@@ -74,7 +74,7 @@ int EnemySubScene::create(Scene & scn, int enemy_counter) {
.looping = true,
}
);
- // tanky body
+ // tanky body
Asset tank_body_asset {"asset/workers/workerFatBody.png"};
enemy.add_component<BoxCollider>(vec2(50, 50));
Sprite & tank_body_sprite = enemy.add_component<Sprite>(
@@ -121,7 +121,7 @@ int EnemySubScene::create(Scene & scn, int enemy_counter) {
}
);
//gun
- Asset enemy_pistol_asset{"asset/workers/gun.png"};
+ Asset enemy_pistol_asset {"asset/workers/gun.png"};
Sprite & enemy_pistol_sprite = enemy.add_component<Sprite>(
enemy_pistol_asset,
Sprite::Data {