Rerun Detection
Classes
Section titled “Classes”RerunDetection
Section titled “RerunDetection”Defined in: packages/isaacscript-common/src/classes/features/other/RerunDetection.ts:15
Extends
Section titled “Extends”Feature
Methods
Section titled “Methods”onRerun()
Section titled “onRerun()”onRerun():
boolean
Defined in: packages/isaacscript-common/src/classes/features/other/RerunDetection.ts:60
Helper function to detect if the current run was starting using the “Rerun” option from the main menu.
Under the hood, this assumes that any run that is past the first floor and continues in the starting room of the run is a rerun.
In order to use this function, you must upgrade your mod with ISCFeature.RERUN_DETECTION.
Returns
Section titled “Returns”boolean
