OrthoMap.this

Construct an orthogonal tilemap from a rectangular (non-jagged) grid of tiles.

  1. this(Tile[][] tiles, int tileWidth, int tileHeight)
  2. this(RectGrid!(Tile[][]) grid, int tileWidth, int tileHeight)
    struct OrthoMap(Tile)
    this
    (
    RectGrid!(Tile[][]) grid
    ,,)

Parameters

tileWidth int

width of each tile in pixels

tileHeight int

height of each tile in pixels

Meta