UNPKG

isaacscript-common

Version:

Helper functions and features for IsaacScript mods.

22 lines (21 loc) 790 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PostEffectInitFilter = void 0; const isaac_typescript_definitions_1 = require("isaac-typescript-definitions"); const shouldFire_1 = require("../../shouldFire"); const CustomCallback_1 = require("../private/CustomCallback"); class PostEffectInitFilter extends CustomCallback_1.CustomCallback { constructor() { super(); this.callbacksUsed = [ // 54 [isaac_typescript_definitions_1.ModCallback.POST_EFFECT_INIT, this.postEffectInit], ]; } shouldFire = shouldFire_1.shouldFireEffect; // ModCallback.POST_EFFECT_INIT (54) postEffectInit = (effect) => { this.fire(effect); }; } exports.PostEffectInitFilter = PostEffectInitFilter;