isaacscript-common
Version:
Helper functions and features for IsaacScript mods.
52 lines (39 loc) • 1.06 kB
text/typescript
import {
GridEntityType,
LockState,
PoopState,
RockState,
SpiderWebState,
TNTState,
} from "isaac-typescript-definitions";
import { ReadonlyMap } from "../types/ReadonlyMap";
/** Not every grid entity can be broken. Thus use a map to represent this. */
export const GRID_ENTITY_TYPE_TO_BROKEN_STATE_MAP = new ReadonlyMap<
GridEntityType,
int
>([
// 2
[],
// 4
[],
// 5
[],
// 6
[],
// 10
[],
// 11
[],
// 12
[],
// 14
[],
// 22
[],
// 25
[],
// 26
[],
// 27
[],
]);