public void Draw(GLEx g, int x, int y, int sx, int sy, int width, int height, int index, bool lineByLine) { TMXLayer layer = layers[index]; layer.Draw(g, x, y, sx, sy, width, height, lineByLine, tileWidth, tileHeight); }
public void Draw(GLEx g, int x, int y, int sx, int sy, int width, int height, bool lineByLine) { for (int i = 0; i < layers.Count; i++) { TMXLayer layer = layers[i]; layer.Draw(g, x, y, sx, sy, width, height, lineByLine, tileWidth, tileHeight); } }