Pony Detection
Classes
Section titled “Classes”PonyDetection
Section titled “PonyDetection”Defined in: packages/isaacscript-common/src/classes/features/other/PonyDetection.ts:26
Extends
Section titled “Extends”Feature
Methods
Section titled “Methods”isPlayerUsingPony()
Section titled “isPlayerUsingPony()”isPlayerUsingPony(
player):boolean
Defined in: packages/isaacscript-common/src/classes/features/other/PonyDetection.ts:73
Helper function to see if the player is under the effects of A Pony or White Pony charge. Detecting this is difficult, as the temporary effect will disappear upon entering a new room.
In order to use this function, you must upgrade your mod with ISCFeature.PONY_DETECTION.
Parameters
Section titled “Parameters”player
Section titled “player”EntityPlayer
Returns
Section titled “Returns”boolean
anyPlayerUsingPony()
Section titled “anyPlayerUsingPony()”anyPlayerUsingPony():
boolean
Defined in: packages/isaacscript-common/src/classes/features/other/PonyDetection.ts:86
Helper function to see if any player is under the effects of A Pony or White Pony charge. Detecting this is difficult, as the temporary effect will disappear upon entering a new room.
In order to use this function, you must upgrade your mod with ISCFeature.PONY_DETECTION.
Returns
Section titled “Returns”boolean
