Skip to content

Commit

Permalink
Fixed capitalization on createFireBall call
Browse files Browse the repository at this point in the history
  • Loading branch information
ThivanW authored Sep 9, 2023
1 parent 1207d5e commit 4a6823b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public void start() {
public void update() {
if (currentTask.getStatus() != Status.ACTIVE) {
if (currentTask == movementTask) {
Entity newProjectile = ProjectileFactory.createFireball(owner.getEntity(), new Vector2(0, (currentPos.y + 0.75f)), new Vector2(2f,2f));
Entity newProjectile = ProjectileFactory.createFireBall(owner.getEntity(), new Vector2(0, (currentPos.y + 0.75f)), new Vector2(2f,2f));
newProjectile.scaleHeight(-0.4f);
newProjectile.setPosition((float) (currentPos.x), (float) (currentPos.y+0.75f));
ServiceLocator.getEntityService().register(newProjectile);
Expand Down

0 comments on commit 4a6823b

Please sign in to comment.