Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.GameContent.Generation.ShapeBranch Class Reference

Public Member Functions

 ShapeBranch ()
 
 ShapeBranch (Point offset)
 
 ShapeBranch (double angle, double distance)
 
override bool Perform (Point origin, GenAction action)
 
ShapeBranch OutputEndpoints (List< Point > endpoints)
 
GenShape Output (ShapeData outputData)
 
GenShape QuitOnFail (bool value=true)
 
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
 

Properties

static UnifiedRandom _random [get]
 
static Tile[,] _tiles [get]
 
static int _worldWidth [get]
 
static int _worldHeight [get]
 

Private Member Functions

bool PerformSegment (Point origin, GenAction action, Point start, Point end, int size)
 

Private Attributes

Point _offset
 
List< Point_endPoints
 
ShapeData _outputData
 

Detailed Description

Definition at line 9 of file ShapeBranch.cs.


The documentation for this class was generated from the following file: