isaacscript-common
Version:
Helper functions and features for IsaacScript mods.
13 lines • 585 B
TypeScript
/**
* Helper function to move all of the players to where they would normally go when arriving at a new
* floor. (In normal mode, this is the center of the room. In Greed Mode, this is below the top
* door.)
*
* If there is more than one player, they will be distributed around the center in a circle.
*
* This function emulates what happens in the vanilla game when you travel to a new floor.
*
* @param radius Optional. The radius of the circle. Default is 10.
*/
export declare function movePlayersToCenter(radius?: float): void;
//# sourceMappingURL=playerCenter.d.ts.map