Binding of Isaac - Afterbirth+ Lua Reference/Guide
GridEntityRock Class Reference
Inheritance diagram for GridEntityRock:
GridEntity

Public Member Functions

const SpriteGetSprite ()
 
string GetRubbleAnim ()
 
 SetBigRockFrame (integer Frame)
 
integer GetBigRockFrame ()
 
 UpdateAnimFrame ()
 
- Public Member Functions inherited from GridEntity
 SetType (GridEntityType Type)
 
 SetVariant (integer Variant)
 
 Init (integer Seed)
 
 PostInit ()
 
 Update ()
 
 Render (Vector Offset)
 
boolean Hurt (integer Damage)
 
boolean Destroy (boolean Immediate)
 
GridEntityType GetType ()
 
integer GetVariant ()
 
integer GetGridIndex ()
 
DescGetSaveState ()
 
GridEntityDoor ToDoor ()
 
GridEntityPit ToPit ()
 
GridEntityPoop ToPoop ()
 
GridEntityRock ToRock ()
 
GridEntityPressurePlate ToPressurePlate ()
 
GridEntitySpikes ToSpikes ()
 
GridEntityTNT ToTNT ()
 

Public Attributes

string Anim
 
string RubbleAnim
 
integer FrameCnt
 
- Public Attributes inherited from GridEntity
const Vector Position
 returns the position of the grid cell's center point More...
 
integer State
 
integer VarData
 
Desc Desc
 
RNG RNG
 
CollisionClass CollisionClass
 
Sprite Sprite
 

Member Function Documentation

◆ GetBigRockFrame()

integer GridEntityRock::GetBigRockFrame ( )

◆ GetRubbleAnim()

string GridEntityRock::GetRubbleAnim ( )

◆ GetSprite()

const Sprite& GridEntityRock::GetSprite ( )

◆ SetBigRockFrame()

GridEntityRock::SetBigRockFrame ( integer  Frame)

◆ UpdateAnimFrame()

GridEntityRock::UpdateAnimFrame ( )

Member Data Documentation

◆ Anim

string GridEntityRock::Anim

◆ FrameCnt

integer GridEntityRock::FrameCnt

◆ RubbleAnim

string GridEntityRock::RubbleAnim