From cdb987a2531262b622d23be0305e15217d4d92d3 Mon Sep 17 00:00:00 2001 From: Damien Date: Fri, 14 May 2021 11:56:02 +0200 Subject: [PATCH] deso pour le print --- core/src/sagittarius/model/Player.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/sagittarius/model/Player.java b/core/src/sagittarius/model/Player.java index 72eb1b1..cbfcfe5 100644 --- a/core/src/sagittarius/model/Player.java +++ b/core/src/sagittarius/model/Player.java @@ -77,7 +77,7 @@ public class Player extends EntityQuad { T++; T %= 100; int i = (int) (T * ((float) texture.size() / 100)); - System.out.println(i); + batch.draw(texture.get(i), getPosition().x - getWidth()/2, getPosition().y - getHeight()/2, getWidth()/2, getHeight()/2, getWidth(), getHeight(), 1, 1, getRotation(), 0, 0, texture.get(i).getWidth(), texture.get(i).getHeight(), false, false); super.draw(batch, parentAlpha);