Class "GridEntityRock"⚓︎
Functions⚓︎
GetAltRockType ()⚓︎
int GetAltRockType ( BackdropType Backdrop = 0 )⚓︎
PlayBreakSound ()⚓︎
void PlayBreakSound ( GridEntityType Type, BackdropType Backdrop = 0 )⚓︎
RegisterRockDestroyed ()⚓︎
void RegisterRockDestroyed ( GridEntityType Type )⚓︎
RenderTop ()⚓︎
void RenderTop ( Vector Offset )⚓︎
SpawnDrops ()⚓︎
static void SpawnDrops ( Vector Position, GridEntityType Type, int GridVariant, int Seed, boolean Unknown, BackdropType Backdrop = 0 )⚓︎
TrySpawnLadder ()⚓︎
void TrySpawnLadder ( )⚓︎
TrySpawnWorms ()⚓︎
void TrySpawnWorms ( )⚓︎
UpdateCollision ()⚓︎
void UpdateCollision ( )⚓︎
UpdateNeighbors ()⚓︎
void UpdateNeighbors ( )⚓︎
If the rock is currently "connected" to other rocks as a "big rock", this function will break its connections to its neighbors. The graphics of the neighboring rocks will be updated appropriately, but note that THIS rock's graphics will not be updated.
The game calls this function when a rock is destroyed or lifted. For it to succeed, the rock must still have the appropriate Variant for a big rock (1000+).