UNPKG

isaacscript-common

Version:

Helper functions and features for IsaacScript mods.

22 lines (21 loc) 768 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PostTearInitFilter = void 0; const isaac_typescript_definitions_1 = require("isaac-typescript-definitions"); const shouldFire_1 = require("../../shouldFire"); const CustomCallback_1 = require("../private/CustomCallback"); class PostTearInitFilter extends CustomCallback_1.CustomCallback { constructor() { super(); this.callbacksUsed = [ // 39 [isaac_typescript_definitions_1.ModCallback.POST_TEAR_INIT, this.postTearInit], ]; } shouldFire = shouldFire_1.shouldFireTear; // ModCallback.POST_TEAR_INIT (39) postTearInit = (tear) => { this.fire(tear); }; } exports.PostTearInitFilter = PostTearInitFilter;