isaacscript-common
Version:
Helper functions and features for IsaacScript mods.
11 lines • 613 B
TypeScript
import type { DoorSlotFlag, RoomShape, RoomType } from "isaac-typescript-definitions";
import type { CustomStageLua, CustomStageRoomMetadata } from "../CustomStageTSConfig";
export interface CustomStage extends CustomStageLua {
/** A map that makes it easier to select certain room type/shape/door combinations. */
readonly roomTypeMap: RoomTypeMap;
}
export type RoomTypeMap = ReadonlyMap<RoomType, RoomShapeMap>;
type RoomShapeMap = ReadonlyMap<RoomShape, RoomDoorSlotMap>;
type RoomDoorSlotMap = ReadonlyMap<DoorSlotFlag, CustomStageRoomMetadata[]>;
export {};
//# sourceMappingURL=CustomStage.d.ts.map