Skip to main content

RockState

Used by the following grid entity types:

  • GridEntityType.ROCK (2)
  • GridEntityType.ROCK_TINTED (4)
  • GridEntityType.ROCK_BOMB (5)
  • GridEntityType.ROCK_ALT (6)
  • GridEntityType.STATUE (21) (only for Angel Statues)
  • GridEntityType.ROCK_SS (22)
  • GridEntityType.ROCK_SPIKED (25)
  • GridEntityType.ROCK_ALT2 (26)
  • GridEntityType.ROCK_GOLD (27)

Enumeration Members

UNBROKEN

UNBROKEN = 1

Defined in

collections/gridEntityStates.ts:16


BROKEN

BROKEN = 2

Defined in

collections/gridEntityStates.ts:17


EXPLODING

EXPLODING = 3

Only applies for GridEntityType.ROCK_BOMB (5). After being bombed, the rock stays in this state for 4 frames, then changes to RockState.BROKEN.

Defined in

collections/gridEntityStates.ts:23


HALF_BROKEN

HALF_BROKEN = 4

Only applies for GridEntityType.ROCK_SS (22), since it takes two bombs to break.

Defined in

collections/gridEntityStates.ts:26