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

Classes

class  BoulderPlacementAttempt
 
class  DartTrapPlacementAttempt
 
class  ExplosivePlacementAttempt
 
class  WirePlacementAttempt
 

Public Member Functions

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

Properties

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

Private Member Functions

void PlaceWiresForExplosives (Point origin)
 
bool AreThereEnoughTraps ()
 
void ClearCaches ()
 
void FindBoulderTrapSpots (Point position)
 
void FindBoulderTrapSpot (Point position)
 
void PlaceBoulderTrapSpot (Point position, int yPush)
 
void FindDartTrapSpots (Point position)
 
bool FindDartTrapSpotSingle (Point position, int directionX)
 
void FindExplosiveTrapSpots (Point position)
 
bool IsGoodSpotsForExplosive (int x, int y)
 
void TurnGoldChestIntoDeadMansChest (Point position)
 
void ActuallyPlaceDartTrap (Point position, int directionX, int x, int y, int xPush, Tile t)
 
void PlaceWireLine (Point start, int offsetX, int offsetY, int steps)
 
void ActuallyPlaceBoulderTrap (Point position, int yPush, int requiredHeight, int bestType)
 
void ActuallyPlaceExplosive (Point position)
 

Static Private Member Functions

static bool IsAGoodSpot (Point position)
 

Private Attributes

List< DartTrapPlacementAttempt_dartTrapPlacementSpots = new List<DartTrapPlacementAttempt>()
 
List< WirePlacementAttempt_wirePlacementSpots = new List<WirePlacementAttempt>()
 
List< BoulderPlacementAttempt_boulderPlacementSpots = new List<BoulderPlacementAttempt>()
 
List< ExplosivePlacementAttempt_explosivePlacementAttempt = new List<ExplosivePlacementAttempt>()
 
IntRange _numberOfDartTraps = new IntRange(3, 6)
 
IntRange _numberOfBoulderTraps = new IntRange(2, 4)
 
IntRange _numberOfStepsBetweenBoulderTraps = new IntRange(2, 4)
 

Detailed Description

Definition at line 10 of file DeadMansChestBiome.cs.


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