diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2025-01-09 16:10:54 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2025-01-09 16:10:54 +0100 |
commit | cb81d9c3bbb57404dc469dd16cf3bb9c15c1cd5d (patch) | |
tree | bfefa976976d31fa9d773c9acbbd9027a67ad1fd /game | |
parent | 8d4fd0798fcdef1d90b35358f20e5cd636685e5c (diff) |
changed bullet color
Diffstat (limited to 'game')
-rw-r--r-- | game/enemy/EnemyBulletSubScene.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/game/enemy/EnemyBulletSubScene.cpp b/game/enemy/EnemyBulletSubScene.cpp index e726284..fb3a4cd 100644 --- a/game/enemy/EnemyBulletSubScene.cpp +++ b/game/enemy/EnemyBulletSubScene.cpp @@ -16,6 +16,7 @@ #include "EnemyBulletScript.h" #include "EnemyBulletSubScene.h" #include "EnemyScript.h" +#include "api/Color.h" using namespace crepe; using namespace std; int EnemyBulletSubScene::create(Scene & scn, int counter) { @@ -39,6 +40,7 @@ int EnemyBulletSubScene::create(Scene & scn, int counter) { Sprite & bullet_sprite = bullet.add_component<Sprite>( bullet_asset, Sprite::Data { + .color = Color::BLUE, .flip = {true, false}, .sorting_in_layer = SORT_IN_LAY_OBSTACLES, .order_in_layer = 1, |