public static void Draw(this SpriteBatch spriteBatch, TiledLayer layer, Camera2D camera) { layer.Draw(spriteBatch, camera.GetBoundingRectangle().ToRectangle()); }
public static void Draw(this SpriteBatch spriteBatch, TiledLayer layer, Rectangle? visibleRectangle = null) { layer.Draw(spriteBatch, visibleRectangle); }
public static void Draw(this SpriteBatch spriteBatch, TiledLayer layer, Rectangle?visibleRectangle = null) { layer.Draw(spriteBatch, visibleRectangle); }