Skip to content

Commit

Permalink
changed position of bottom droid projectile so that it is within a lane
Browse files Browse the repository at this point in the history
  • Loading branch information
ThivanW committed Oct 11, 2023
1 parent ccdf375 commit 3839d77
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,8 @@ void shootDown() {
entity.getPosition().y), new Vector2(2,2), ProjectileEffects.SLOW, false);
Projectile.setScale(new Vector2(0.5f,0.5f));
Projectile.setPosition((float) (entity.getPosition().x + 0.2),
(float) (entity.getPosition().y - 0.2));
(float) (entity.getPosition().y));
ServiceLocator.getEntityService().register(Projectile);

}

}

0 comments on commit 3839d77

Please sign in to comment.