UNPKG

isaacscript-common

Version:

Helper functions and features for IsaacScript mods.

22 lines (21 loc) 812 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PostBombRenderFilter = void 0; const isaac_typescript_definitions_1 = require("isaac-typescript-definitions"); const shouldFire_1 = require("../../shouldFire"); const CustomCallback_1 = require("../private/CustomCallback"); class PostBombRenderFilter extends CustomCallback_1.CustomCallback { constructor() { super(); this.callbacksUsed = [ // 59 [isaac_typescript_definitions_1.ModCallback.POST_BOMB_RENDER, this.postBombUpdate], ]; } shouldFire = shouldFire_1.shouldFireBomb; // ModCallback.POST_BOMB_RENDER (59) postBombUpdate = (bomb, renderOffset) => { this.fire(bomb, renderOffset); }; } exports.PostBombRenderFilter = PostBombRenderFilter;