UNPKG

isaac-typescript-definitions

Version:

TypeScript definitions for The Binding of Isaac: Repentance.

19 lines (16 loc) 590 B
import type { PressurePlateState } from "../../enums/collections/gridEntityStates"; import type { PressurePlateVariant } from "../../enums/collections/gridEntityVariants"; declare global { /** * Grid entities of type `GridEntityType.PRESSURE_PLATE` (20) can be converted to this class with * the `GridEntity.ToPressurePlate` method. */ interface GridEntityPressurePlate extends GridEntity { GetVariant: () => PressurePlateVariant; Reward: () => void; GreedModeRNG: RNG; NextGreedAnimation: string; State: PressurePlateState; TimerPlate: Sprite; } }