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