isaac-typescript-definitions
Version:
TypeScript definitions for The Binding of Isaac: Repentance.
19 lines (16 loc) • 566 B
TypeScript
import type { PitState } from "../../enums/collections/gridEntityStates";
import type { PitVariant } from "../../enums/collections/gridEntityVariants";
declare global {
/**
* Grid entities of type `GridEntityType.PIT` (7) can be converted to this class with the
* `GridEntity.ToPit` method.
*/
interface GridEntityPit extends GridEntity {
GetVariant: () => PitVariant;
MakeBridge: (bridgeSource?: GridEntity) => void;
SetLadder: (value: boolean) => void;
UpdateCollision: () => void;
HasLadder: boolean;
State: PitState;
}
}