isaacscript-common
Version:
Helper functions and features for IsaacScript mods.
18 lines (17 loc) • 887 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ROOM_SHAPE_TO_TOP_LEFT_WALL_GRID_INDEX_MAP = exports.DEFAULT_TOP_LEFT_WALL_GRID_INDEX = void 0;
const isaac_typescript_definitions_1 = require("isaac-typescript-definitions");
const ReadonlyMap_1 = require("../types/ReadonlyMap");
exports.DEFAULT_TOP_LEFT_WALL_GRID_INDEX = 0;
/**
* Only used for special room shapes where the top left wall grid index is not equal to
* `DEFAULT_TOP_LEFT_WALL_GRID_INDEX`.
*/
exports.ROOM_SHAPE_TO_TOP_LEFT_WALL_GRID_INDEX_MAP = new ReadonlyMap_1.ReadonlyMap([
[isaac_typescript_definitions_1.RoomShape.IH, 30], // 2
[isaac_typescript_definitions_1.RoomShape.IV, 4], // 3
[isaac_typescript_definitions_1.RoomShape.IIV, 4], // 5
[isaac_typescript_definitions_1.RoomShape.IIH, 56], // 7
[isaac_typescript_definitions_1.RoomShape.LTL, 13], // 9
]);