isaac-typescript-definitions
Version:
TypeScript definitions for The Binding of Isaac: Repentance.
21 lines (18 loc) • 615 B
TypeScript
import type { PoopState } from "../../enums/collections/gridEntityStates";
import type { PoopGridEntityVariant } from "../../enums/collections/gridEntityVariants";
declare global {
/**
* Grid entities of type `GridEntityType.POOP` (14) can be converted to this class with the
* `GridEntity.ToPoop` method.
*/
interface GridEntityPoop extends GridEntity {
GetVariant: () => PoopGridEntityVariant;
ReduceSpawnRate: () => void;
RespawnRedPoop: () => void;
ReducedSpawnRate: boolean;
ReviveTimer: int;
State: PoopState;
StateAnimation: string;
UnderPlayer: boolean;
}
}