isaacscript-common
Version:
Helper functions and features for IsaacScript mods.
22 lines (21 loc) • 757 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PostNPCInitFilter = void 0;
const isaac_typescript_definitions_1 = require("isaac-typescript-definitions");
const shouldFire_1 = require("../../shouldFire");
const CustomCallback_1 = require("../private/CustomCallback");
class PostNPCInitFilter extends CustomCallback_1.CustomCallback {
constructor() {
super();
this.callbacksUsed = [
// 27
[isaac_typescript_definitions_1.ModCallback.POST_NPC_INIT, this.postNPCInit],
];
}
shouldFire = shouldFire_1.shouldFireNPC;
// ModCallback.POST_NPC_INIT (27)
postNPCInit = (npc) => {
this.fire(npc);
};
}
exports.PostNPCInitFilter = PostNPCInitFilter;