diff --git a/core/src/sagittarius/model/Arrow.java b/core/src/sagittarius/model/Arrow.java index ff6f239..c68aadf 100644 --- a/core/src/sagittarius/model/Arrow.java +++ b/core/src/sagittarius/model/Arrow.java @@ -86,6 +86,7 @@ public class Arrow extends EntityQuad { public void draw (Batch batch, float parentAlpha) { batch.draw(texture, getPosition().x - 0.8f * getWidth(), getPosition().y - getHeight()/2 - 10, 0.8f * this.getWidth(), this.getHeight()/2 + 10, getWidth(), 20 + getHeight(), 1, 1, getRotation(), 0, 0, texture.getWidth(), texture.getHeight(), false, false); + super.draw(batch, parentAlpha); } /** diff --git a/core/src/sagittarius/model/Planet.java b/core/src/sagittarius/model/Planet.java index ec66365..bfc82ee 100644 --- a/core/src/sagittarius/model/Planet.java +++ b/core/src/sagittarius/model/Planet.java @@ -41,6 +41,7 @@ public class Planet extends EntityCircle { public void draw (Batch batch, float parentAlpha) { batch.draw(texture, getPosition().x - this.radius, getPosition().y - this.radius, this.radius, this.radius, 2 * this.radius, 2 * this.radius, 1, 1, getRotation(), 0, 0, texture.getWidth(), texture.getHeight(), false, false); + super.draw(batch, parentAlpha); } } diff --git a/core/src/sagittarius/model/Player.java b/core/src/sagittarius/model/Player.java index 14854cb..fd6afab 100644 --- a/core/src/sagittarius/model/Player.java +++ b/core/src/sagittarius/model/Player.java @@ -43,6 +43,7 @@ public class Player extends EntityQuad { public void draw (Batch batch, float parentAlpha) { batch.draw(texture, getPosition().x - getWidth()/2, getPosition().y - getHeight()/2, this.getWidth()/2, this.getHeight()/2, getWidth(), getHeight(), 1, 1, getRotation(), 0, 0, texture.getWidth(), texture.getHeight(), false, false); + super.draw(batch, parentAlpha); } @Override