public static void Draw(this SpriteBatch spriteBatch, TiledLayer layer, Camera2D camera)
 {
     layer.Draw(spriteBatch, camera.GetBoundingRectangle().ToRectangle());
 }
Пример #2
0
 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);
 }
Пример #4
0
 public static void Draw(this SpriteBatch spriteBatch, TiledLayer layer, Rectangle?visibleRectangle = null)
 {
     layer.Draw(spriteBatch, visibleRectangle);
 }