tModLoader v2024.09
A mod to make and play Terraria mods
GenShape Class Referenceabstract

Inherits GenBase.

Inherited by GenModShape, ShapeBranch, ShapeFloodFill, ShapeRoot, ShapeRunner, Shapes.Circle, Shapes.HalfCircle, Shapes.Mound, Shapes.Rectangle, Shapes.Slime, and Shapes.Tail.

Public Member Functions

GenShape Output (ShapeData outputData)
 
abstract bool Perform (Point origin, GenAction action)
 
GenShape QuitOnFail (bool value=true)
 
- Public Member Functions inherited from GenBase
delegate bool CustomPerUnitAction (int x, int y, params object[] args)
 

Protected Member Functions

bool UnitApply (GenAction action, Point origin, int x, int y, params object[] args)
 

Protected Attributes

bool _quitOnFail
 

Additional Inherited Members

- Properties inherited from GenBase
static UnifiedRandom _random [get]
 
static ref Tilemap _tiles [get]
 
static int _worldHeight [get]
 
static int _worldWidth [get]