Skip to main content

Room Clear Frame

Hierarchy

  • Feature

    RoomClearFrame

Methods

getRoomClearGameFrame

getRoomClearGameFrame(): undefined | int

Helper function to get the game frame (i.e. Game.GetFrameCount) of the last time that this room was cleared. Returns undefined if the room has never been cleared.

Note that if the room is left, all room clear tracking for it will be discarded.

In order to use this function, you must upgrade your mod with ISCFeature.ROOM_CLEAR_FRAME.

Returns

undefined | int

Defined in

packages/isaacscript-common/src/classes/features/other/RoomClearFrame.ts:54


getRoomClearRenderFrame

getRoomClearRenderFrame(): undefined | int

Helper function to get the render frame (i.e. Isaac.GetFrameCount) of the last time that this room was cleared. Returns undefined if the room has never been cleared.

Note that if the room is left, all room clear tracking for it will be discarded.

In order to use this function, you must upgrade your mod with ISCFeature.ROOM_CLEAR_FRAME.

Returns

undefined | int

Defined in

packages/isaacscript-common/src/classes/features/other/RoomClearFrame.ts:69


getRoomClearRoomFrame

getRoomClearRoomFrame(): undefined | int

Helper function to get the room frame (i.e. Room.GetFrameCount) of the last time that this room was cleared. Returns undefined if the room has never been cleared.

Note that if the room is left, all room clear tracking for it will be discarded.

In order to use this function, you must upgrade your mod with ISCFeature.ROOM_CLEAR_FRAME.

Returns

undefined | int

Defined in

packages/isaacscript-common/src/classes/features/other/RoomClearFrame.ts:84