コード例 #1
0
 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());
 }
コード例 #3
0
 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);
 }