From 5f0b827fab6e5556232b60517196259743db82e7 Mon Sep 17 00:00:00 2001 From: Tim Date: Thu, 1 Jul 2021 10:58:42 +0200 Subject: [PATCH] better coin alignment --- Zoelda/src/main/entities/Coin.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Zoelda/src/main/entities/Coin.java b/Zoelda/src/main/entities/Coin.java index e9295a8..5c06992 100644 --- a/Zoelda/src/main/entities/Coin.java +++ b/Zoelda/src/main/entities/Coin.java @@ -8,8 +8,8 @@ public class Coin extends AnimatedEntity { private static SheetLoader loader = new SheetLoader("/res/images/coins.png"); private boolean moveToCounterAnimation; - private float animationDestX = 0.5f; - private float animationDestY = 2f; + private float animationDestX = 0.2f; + private float animationDestY = 2.0f; public Coin() { loader.generateFigures(8, 8, new int[] { 8, 8, 1 });