Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.GameContent.Biomes.GraniteBiome Class Reference

Classes

struct  Magma
 

Public Member Functions

override bool Place (Point origin, StructureMap structures)
 
delegate bool CustomPerUnitAction (int x, int y, params object[] args)
 

Static Public Member Functions

static bool CanPlace (Point origin, StructureMap structures)
 

Properties

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

Private Member Functions

void BuildMagmaMap (Point tileOrigin)
 
void SimulatePressure (out Rectangle effectedMapArea)
 
bool ShouldUseLava (Point tileOrigin)
 
void PlaceGranite (Point tileOrigin, Rectangle magmaMapArea)
 
void CleanupTiles (Point tileOrigin, Rectangle magmaMapArea)
 
void PlaceDecorations (Point tileOrigin, Rectangle magmaMapArea)
 

Private Attributes

Magma[,] _sourceMagmaMap = new Magma[200, 200]
 
Magma[,] _targetMagmaMap = new Magma[200, 200]
 

Static Private Attributes

const int MAX_MAGMA_ITERATIONS = 300
 
static Vector2D[] _normalisedVectors
 

Detailed Description

Definition at line 12 of file GraniteBiome.cs.


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