public TileEntity(TileSet tset, string shortcut, Vector2f position = new Vector2f(), int depth = 0) : this(tset, tset.GetTilePosition (shortcut), position, depth) { }
public TileEntity(TileSet tset, uint tilex, uint tiley, Vector2f position = new Vector2f(), int depth = 0) : this(new Tile(tset, tilex, tiley), position, depth) { }
public TileEntity(TileSet tset, Vector2u tileindex, Vector2f position = new Vector2f(), int depth = 0) : this(tset, tileindex.X, tileindex.Y, position, depth) { }
public Tile(TileSet tileset, uint x, uint y) { this.sprite = new Sprite(tileset.GetTile (x, y)); }