isaacscript-common
Version:
Helper functions and features for IsaacScript mods.
21 lines (20 loc) • 1.22 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ROOM_SHAPE_TO_GRID_WIDTH = void 0;
const isaac_typescript_definitions_1 = require("isaac-typescript-definitions");
const ONE_BY_ONE_WIDTH = 15;
const TWO_BY_ONE_WIDTH = 28;
exports.ROOM_SHAPE_TO_GRID_WIDTH = {
[isaac_typescript_definitions_1.RoomShape.SHAPE_1x1]: ONE_BY_ONE_WIDTH, // 1
[isaac_typescript_definitions_1.RoomShape.IH]: ONE_BY_ONE_WIDTH, // 2
[isaac_typescript_definitions_1.RoomShape.IV]: ONE_BY_ONE_WIDTH, // 3
[isaac_typescript_definitions_1.RoomShape.SHAPE_1x2]: ONE_BY_ONE_WIDTH, // 4
[isaac_typescript_definitions_1.RoomShape.IIV]: ONE_BY_ONE_WIDTH, // 5
[isaac_typescript_definitions_1.RoomShape.SHAPE_2x1]: TWO_BY_ONE_WIDTH, // 6
[isaac_typescript_definitions_1.RoomShape.IIH]: TWO_BY_ONE_WIDTH, // 7
[isaac_typescript_definitions_1.RoomShape.SHAPE_2x2]: TWO_BY_ONE_WIDTH, // 8
[isaac_typescript_definitions_1.RoomShape.LTL]: TWO_BY_ONE_WIDTH, // 9
[isaac_typescript_definitions_1.RoomShape.LTR]: TWO_BY_ONE_WIDTH, // 10
[isaac_typescript_definitions_1.RoomShape.LBL]: TWO_BY_ONE_WIDTH, // 11
[isaac_typescript_definitions_1.RoomShape.LBR]: TWO_BY_ONE_WIDTH, // 12
};