UNPKG

isaacscript-common

Version:

Helper functions and features for IsaacScript mods.

22 lines (21 loc) 775 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PostGameEndFilter = void 0; const isaac_typescript_definitions_1 = require("isaac-typescript-definitions"); const shouldFire_1 = require("../../shouldFire"); const CustomCallback_1 = require("../private/CustomCallback"); class PostGameEndFilter extends CustomCallback_1.CustomCallback { constructor() { super(); this.callbacksUsed = [ // 16 [isaac_typescript_definitions_1.ModCallback.POST_GAME_END, this.postGameEnd], ]; } shouldFire = shouldFire_1.shouldFireBoolean; // ModCallback.POST_GAME_END (16) postGameEnd = (isGameOver) => { this.fire(isGameOver); }; } exports.PostGameEndFilter = PostGameEndFilter;