ist schöner so

This commit is contained in:
lubiana 2014-11-06 19:04:57 +01:00
parent 8a70490c47
commit 8f4bad07a5
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}