bruit de pas à faire

This commit is contained in:
heurtet 2021-05-14 15:40:08 +02:00
parent 625ddf1ce9
commit baa70f4aa1

View file

@ -24,7 +24,6 @@ public class Player extends EntityQuad {
private ArrayList<Texture> texture;
private int T = 0;
// ---------- CONSTRUCTORs ----------
public Player(Planet home, Color color) {
@ -93,15 +92,12 @@ public class Player extends EntityQuad {
if (active) {
if (Gdx.input.isKeyPressed(Keys.LEFT)) {
this.angle += 100.0f / home.getRadius();
}
if (Gdx.input.isKeyPressed(Keys.RIGHT)) {
this.angle -= 100.0f / home.getRadius();
}
}