Merge branch 'master' of https://git.inpt.fr/tobgang/sagittarius
This commit is contained in:
commit
f42d785de4
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue