tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.WorldBuilding.GenShape Class Referenceabstract

Inherits Terraria.WorldBuilding.GenBase.

Inherited by Terraria.GameContent.Generation.ShapeBranch, Terraria.GameContent.Generation.ShapeFloodFill, Terraria.GameContent.Generation.ShapeRoot, Terraria.GameContent.Generation.ShapeRunner, Terraria.WorldBuilding.GenModShape, Terraria.WorldBuilding.Shapes.Circle, Terraria.WorldBuilding.Shapes.HalfCircle, Terraria.WorldBuilding.Shapes.Mound, Terraria.WorldBuilding.Shapes.Rectangle, Terraria.WorldBuilding.Shapes.Slime, and Terraria.WorldBuilding.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 Terraria.WorldBuilding.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 Terraria.WorldBuilding.GenBase
static UnifiedRandom _random [get]
 
static Tile[,] _tiles [get]
 
static int _worldHeight [get]
 
static int _worldWidth [get]