Skip to content

Commit

Permalink
modified ProjectileFactory for testing purposes.
Browse files Browse the repository at this point in the history
  • Loading branch information
The-AhmadAA committed Sep 7, 2023
1 parent 5811775 commit fb36e25
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public static Entity createFireBall(Entity target, Vector2 destination, Vector2
.addComponent(new ColliderComponent().setSensor(true))

// This is the component that allows the projectile to damage a specified target.
.addComponent(new TouchAttackComponent(PhysicsLayer.ENGINEER, 1.5f, true))
.addComponent(new TouchAttackComponent(PhysicsLayer.NPC, 1.5f, true))
.addComponent(new CombatStatsComponent(config.health, config.baseAttack));

projectile
Expand Down

0 comments on commit fb36e25

Please sign in to comment.