diff --git a/src/ei/game/scene/Map.java b/src/ei/game/scene/Map.java index adf3c64..cb58436 100644 --- a/src/ei/game/scene/Map.java +++ b/src/ei/game/scene/Map.java @@ -115,7 +115,7 @@ public class Map { } private Entity getPosSprite(int x, int y, String file){ - Box s = new Box("MapPos("+x+","+y+")", file); + Sprite s = new Sprite("MapPos("+x+","+y+")", file); s.setLocation(new Vector3f(x*POS_SIZE,y*POS_SIZE,0)); s.setSize(new Vector2f(POS_SIZE,POS_SIZE)); return s;