ist schöner so
This commit is contained in:
parent
8a70490c47
commit
8f4bad07a5
|
@ -20,7 +20,7 @@ public class Shot extends LivingEntity {
|
|||
this.speed = shootSpeed;
|
||||
this.collisionCount = 1;
|
||||
this.damageValue = damageValue;
|
||||
super.setImage(filename);
|
||||
this.setImage(filename);
|
||||
this.setPosition(this.x - this.getImage().getWidth() / 2, this.y - this.getImage().getHeight() / 2);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue