Pony Detection
Hierarchy
-
Feature
↳
PonyDetection
Methods
isPlayerUsingPony
▸ isPlayerUsingPony(player
): boolean
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
Name | Type |
---|---|
player | EntityPlayer |
Returns
boolean
Defined in
packages/isaacscript-common/src/classes/features/other/PonyDetection.ts:73
anyPlayerUsingPony
▸ anyPlayerUsingPony(): boolean
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
boolean
Defined in
packages/isaacscript-common/src/classes/features/other/PonyDetection.ts:86