bruit de pas à faire
This commit is contained in:
parent
625ddf1ce9
commit
baa70f4aa1
|
@ -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();
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue