isaac-typescript-definitions
Version:
TypeScript definitions for The Binding of Isaac: Repentance.
32 lines (28 loc) • 807 B
TypeScript
import type { EffectVariant } from "../../enums/collections/variants";
import type { EntityType } from "../../enums/EntityType";
declare global {
interface EntityEffect extends Entity {
FollowParent: (parent: Entity) => void;
SetDamageSource: (entityType: EntityType) => void;
SetRadii: (min: float, max: float) => void;
SetTimeout: (timeout: int) => void;
DamageSource: EntityType;
FallingAcceleration: float;
FallingSpeed: float;
IsFollowing: boolean;
LifeSpan: int;
MaxRadius: float;
MinRadius: float;
ParentOffset: Vector;
Rotation: float;
Scale: float;
State: int;
Timeout: int;
Variant: EffectVariant;
m_Height: float;
}
/** @noSelf */
namespace EntityEffect {
function IsPlayerCreep(variant: int): boolean;
}
}