removed sysout
This commit is contained in:
@@ -22,8 +22,7 @@ public class LivingEntity extends Entity {
|
||||
}
|
||||
int offsetX = (int) ((width * Tile.getSize()) / 2 - (actionFigur.getBreite()) / 2 + spriteOffsetX * Tile.getSize() - (width * Tile.getSize()) / 2);
|
||||
int offsetY = (int) ((height * Tile.getSize()) / 2 - (actionFigur.getHoehe()) / 2 + spriteOffsetY * Tile.getSize() - (height * Tile.getSize()) / 2);
|
||||
actionFigur.positionSetzen(posX * Tile.getSize() + offsetX,
|
||||
posY * Tile.getSize() + offsetY);
|
||||
actionFigur.positionSetzen(posX * Tile.getSize() + offsetX, posY * Tile.getSize() + offsetY);
|
||||
}
|
||||
|
||||
protected void moveLeft() {
|
||||
|
||||
@@ -29,7 +29,6 @@ public class Player extends LivingEntity {
|
||||
|
||||
@Override
|
||||
protected void update() {
|
||||
System.out.println(posX);
|
||||
if (!((actionFigur.aktuellesVerhalten().equals("strike"))
|
||||
&& actionFigur.aktuelleFigur().aktuellesBild() < actionFigur.aktuelleFigur().animation().length - 1)) {
|
||||
if (!((actionFigur.aktuellesVerhalten().equals("swipe"))
|
||||
|
||||
Reference in New Issue
Block a user