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);
 }