[DEV] test...

This commit is contained in:
2020-05-21 23:38:10 +02:00
parent a9899d82e7
commit 49aae1461e
20 changed files with 2751 additions and 837 deletions

View File

@@ -61,7 +61,7 @@ public class Player extends Entity {
} else if (DisplayManager.isKeyDown('s')) {
this.currentSpeed = -RUN_SPEED;
} else {
this.currentSpeed = 0;
this.currentSpeed = 0;
}
if (DisplayManager.isKeyDown('d') && DisplayManager.isKeyDown('a')) {
this.currentTurnSpeed = 0;
@@ -75,22 +75,6 @@ public class Player extends Entity {
if (DisplayManager.isKeyDown(' ')) {
this.jump();
}
//System.out.println("position = " + super.getPosition());
/*
if (DisplayManager.isKeyDown('d')) {
position.x += 0.8f;
}
if (DisplayManager.isKeyDown('a')) {
position.x -= 0.8f;
}
if (DisplayManager.isKeyDown('q')) {
position.y += 0.8f;
}
if (DisplayManager.isKeyDown('z')) {
position.y -= 0.8f;
}
*/
}
}