Skip to content

Class "GridEntity"⚓︎

Modified Functions⚓︎

ToTNT ()⚓︎

GridEntityTNT ToTNT ( )⚓︎

Altered function to improve GridEntity Update callback behavior.


Functions⚓︎

GetAltRockType ()⚓︎

int GetAltRockType ( BackdropType Backdrop )⚓︎


GetRenderPosition ()⚓︎

Vector GetRenderPosition ( )⚓︎


HurtDamage ()⚓︎

void HurtDamage ( Entity Entity, int Damage, int DamageFlags, float Unknown, boolean Unknown )⚓︎


HurtSurroundings ()⚓︎

void HurtSurroundings ( int Damage, int DamageFlags, float Unknown, boolean Unknown )⚓︎


IsBreakableRock ()⚓︎

void IsBreakableRock ( )⚓︎


PlayBreakSound ()⚓︎

void PlayBreakSound ( GridEntityType Type, BackdropType Backdrop )⚓︎


RegisterRockDestroyed ()⚓︎

void RegisterRockDestroyed ( GridEntityType Type )⚓︎


RenderTop ()⚓︎

void RenderTop ( Vector Offset )⚓︎


ToDecoration ()⚓︎

GridEntityDecoration ToDecoration ( )⚓︎

Used to cast a GridEntity object to a GridEntityDecoration object.

Return behavior

If the conversion is not successful, this function returns nil.


ToFire ()⚓︎

GridEntityFire ToFire ( )⚓︎

Used to cast a GridEntity object to a GridEntityFire object.

Return behavior

If the conversion is not successful, this function returns nil.


ToGravity ()⚓︎

GridEntityGravity ToGravity ( )⚓︎

Used to cast a GridEntity object to a GridEntityGravity object.

Return behavior

If the conversion is not successful, this function returns nil.


ToLock ()⚓︎

GridLock ToLock ( )⚓︎

Used to cast a GridEntity object to a GridLock object.

Return behavior

If the conversion is not successful, this function returns nil.


ToStairs ()⚓︎

GridEntityStairs ToStairs ( )⚓︎

Used to cast a GridEntity object to a GridEntityStairs object.

Return behavior

If the conversion is not successful, this function returns nil.


ToStatue ()⚓︎

GridEntityStatue ToStatue ( )⚓︎

Used to cast a GridEntity object to a GridEntityStatue object.

Return behavior

If the conversion is not successful, this function returns nil.


ToTeleporter ()⚓︎

GridTeleporter ToTeleporter ( )⚓︎

Used to cast a GridEntity object to a GridTeleporter object.

Return behavior

If the conversion is not successful, this function returns nil.


ToTrapDoor ()⚓︎

GridEntityTrapDoor ToTrapDoor ( )⚓︎

Used to cast a GridEntity object to a GridEntityTrapDoor object.

Return behavior

If the conversion is not successful, this function returns nil.


ToWall ()⚓︎

GridEntityWall ToWall ( )⚓︎

Used to cast a GridEntity object to a GridEntityWall object.

Return behavior

If the conversion is not successful, this function returns nil.


ToWeb ()⚓︎

GridEntityWeb ToWeb ( )⚓︎

Used to cast a GridEntity object to a GridEntityWeb object.

Return behavior

If the conversion is not successful, this function returns nil.


TrySpawnLadder ()⚓︎

void TrySpawnLadder ( )⚓︎


TrySpawnWorms ()⚓︎

void TrySpawnWorms ( )⚓︎


UpdateCollision ()⚓︎

void UpdateCollision ( )⚓︎


UpdateNeighbors ()⚓︎

void UpdateNeighbors ( )⚓︎

Updates the GridEntity's neighbors.