isaacscript-common
Version:
Helper functions and features for IsaacScript mods.
28 lines (27 loc) • 993 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.v = void 0;
const UIStreakAnimation_1 = require("../../../../enums/private/UIStreakAnimation");
// This is registered in "CustomStages.ts".
// eslint-disable-next-line isaacscript/require-v-registration
exports.v = {
run: {
currentCustomStage: null,
/** Whether we are on e.g. Caves 1 or Caves 2. */
firstFloor: true,
showingBossVersusScreen: false,
/** Values are the render frame that the controller first pressed the map button. */
controllerIndexPushingMapRenderFrame: new Map(),
topStreakTextStartedRenderFrame: null,
topStreakText: {
animation: UIStreakAnimation_1.UIStreakAnimation.NONE,
frame: 0,
pauseFrame: false,
},
bottomStreakText: {
animation: UIStreakAnimation_1.UIStreakAnimation.NONE,
frame: 0,
pauseFrame: false,
},
},
};