removed box map
This commit is contained in:
parent
c83605d5c4
commit
c7cd1a15e2
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ public class Map {
|
||||||
}
|
}
|
||||||
|
|
||||||
private Entity getPosSprite(int x, int y, String file){
|
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.setLocation(new Vector3f(x*POS_SIZE,y*POS_SIZE,0));
|
||||||
s.setSize(new Vector2f(POS_SIZE,POS_SIZE));
|
s.setSize(new Vector2f(POS_SIZE,POS_SIZE));
|
||||||
return s;
|
return s;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue