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 ArrayList<Texture> texture;
|
||||||
private int T = 0;
|
private int T = 0;
|
||||||
|
|
||||||
|
|
||||||
// ---------- CONSTRUCTORs ----------
|
// ---------- CONSTRUCTORs ----------
|
||||||
|
|
||||||
public Player(Planet home, Color color) {
|
public Player(Planet home, Color color) {
|
||||||
|
@ -93,15 +92,12 @@ public class Player extends EntityQuad {
|
||||||
|
|
||||||
if (active) {
|
if (active) {
|
||||||
if (Gdx.input.isKeyPressed(Keys.LEFT)) {
|
if (Gdx.input.isKeyPressed(Keys.LEFT)) {
|
||||||
|
|
||||||
this.angle += 100.0f / home.getRadius();
|
this.angle += 100.0f / home.getRadius();
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (Gdx.input.isKeyPressed(Keys.RIGHT)) {
|
if (Gdx.input.isKeyPressed(Keys.RIGHT)) {
|
||||||
this.angle -= 100.0f / home.getRadius();
|
this.angle -= 100.0f / home.getRadius();
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue