isaacscript-common
Version:
Helper functions and features for IsaacScript mods.
20 lines (17 loc) • 536 B
text/typescript
import { RoomShape } from "isaac-typescript-definitions";
import { ReadonlyMap } from "../types/ReadonlyMap";
export const 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`.
*/
export const ROOM_SHAPE_TO_TOP_LEFT_WALL_GRID_INDEX_MAP = new ReadonlyMap<
RoomShape,
int
>([
[], // 2
[], // 3
[], // 5
[], // 7
[], // 9
]);