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

Public Member Functions

 GraniteHouseBuilder (IEnumerable< Rectangle > rooms)
 
virtual void Place (HouseBuilderContext context, StructureMap structures)
 

Public Attributes

readonly HouseType Type
 
readonly bool IsValid
 

Static Public Attributes

static readonly HouseBuilder Invalid = new HouseBuilder()
 

Protected Member Functions

override void AgeRoom (Rectangle room)
 

Protected Attributes

ushort[] SkipTilesDuringWallAging = new ushort[5] { 245, 246, 240, 241, 242 }
 

Properties

double ChestChance [get, set]
 
ushort TileType [get, protected set]
 
ushort WallType [get, protected set]
 
ushort BeamType [get, protected set]
 
int PlatformStyle [get, protected set]
 
int DoorStyle [get, protected set]
 
int TableStyle [get, protected set]
 
bool UsesTables2 [get, protected set]
 
int WorkbenchStyle [get, protected set]
 
int PianoStyle [get, protected set]
 
int BookcaseStyle [get, protected set]
 
int ChairStyle [get, protected set]
 
int ChestStyle [get, protected set]
 
bool UsesContainers2 [get, protected set]
 
ReadOnlyCollection< RectangleRooms [get, private set]
 
Rectangle TopRoom [get]
 
Rectangle BottomRoom [get]
 
UnifiedRandom _random [get]
 
Tile[,] _tiles [get]
 

Private Member Functions

void PlaceEmptyRooms ()
 
void FillRooms ()
 
void PlaceStairs ()
 
List< Tuple< Point, Point > > CreateStairsList ()
 
void PlaceDoors ()
 
List< PointCreateDoorList ()
 
void PlacePlatforms ()
 
List< PointCreatePlatformsList ()
 
void PlaceSupportBeams ()
 
List< RectangleCreateSupportBeamList ()
 
void PlaceChests ()
 
void PlaceBiomeSpecificPriorityTool (HouseBuilderContext context)
 
void PlaceBiomeSpecificTool (HouseBuilderContext context)
 

Static Private Member Functions

static bool FindVerticalExit (Rectangle wall, bool isUp, out int exitX)
 
static bool FindSideExit (Rectangle wall, bool isLeft, out int exitY)
 

Static Private Attributes

const int VERTICAL_EXIT_WIDTH = 3
 

Detailed Description

Definition at line 8 of file GraniteHouseBuilder.cs.


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