diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2025-01-09 16:08:57 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2025-01-09 16:08:57 +0100 |
commit | 75cbcb0442bd8849ed109a34e7529b400eecbb30 (patch) | |
tree | 5d92efce11ffda43792aee0e2d93b31cf73ded30 /game/enemy/EnemySubScene.cpp | |
parent | dc8140877c1ae638285d812035473591a1814ce7 (diff) |
cleanup
Diffstat (limited to 'game/enemy/EnemySubScene.cpp')
-rw-r--r-- | game/enemy/EnemySubScene.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/game/enemy/EnemySubScene.cpp b/game/enemy/EnemySubScene.cpp index 8224e2f..ed3e555 100644 --- a/game/enemy/EnemySubScene.cpp +++ b/game/enemy/EnemySubScene.cpp @@ -52,9 +52,7 @@ int EnemySubScene::create(Scene & scn, int enemy_counter) { .looping = false, } ); - enemy_body_sprite.active = true; body_animator.pause(); - body_animator.active = true; enemy.add_component<BoxCollider>(vec2(40, 60), vec2(-20, 0)); Asset enemy_head_asset {"asset/workers/worker2Head.png"}; Sprite & enemy_head_sprite = enemy.add_component<Sprite>( |