Start Ambush
Hierarchy
-
Feature
↳
StartAmbush
Methods
startAmbush
▸ startAmbush(): void
Helper function to start a Challenge Room or the Boss Rush.
Specifically, this is performed by spawning a sack on top of the player, waiting a game frame, and then removing the sack and the pickups that the sack dropped.
In order to use this function, you must upgrade your mod with ISCFeature.START_AMBUSH
.
Returns
void
Defined in
packages/isaacscript-common/src/classes/features/other/StartAmbush.ts:38