Skip to content

Commit

Permalink
Reverted mob ball animation changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MiniSoda17 committed Sep 11, 2023
1 parent 394ff12 commit e889ce6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ public void updateMobState() {
this.owner.getEntity().getEvents().trigger("meleeStart");
} else {
Entity newProjectile = ProjectileFactory.createMobBall(PhysicsLayer.HUMANS, new Vector2(0, owner.getEntity().getPosition().y), new Vector2(2f,2f));
newProjectile.setPosition((float) (owner.getEntity().getPosition().x + 0.7f), (float) (owner.getEntity().getPosition().y - 0.18f));
newProjectile.setScale(-1f, 1f);
newProjectile.setPosition((float) (owner.getEntity().getPosition().x), (float) (owner.getEntity().getPosition().y));
// newProjectile.setScale(-1f, 1f);
ServiceLocator.getEntityService().register(newProjectile);

// System.out.printf("ANIMATION: " + owner.getEntity().getComponent(AnimationRenderComponent.class).getCurrentAnimation() + "\n");
Expand Down

0 comments on commit e889ce6

Please sign in to comment.