mwg API
    Preparing search index...

    Class RpgmAutotileAtlas

    Caches RPG Maker autotile frame descriptions for one fixed shape table.

    import { RpgmAutotileAtlas, type RpgmAutotileShapeTable } from '@datamoc/mw_games/two-d/render';

    declare const shapeTable: RpgmAutotileShapeTable;
    const atlas = new RpgmAutotileAtlas(shapeTable);
    const frame = atlas.get(7, 0, 3);
    console.log(frame.quadrants.length); // 4
    Index