Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
DesertHouseBuilder (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< Rectangle > | Rooms [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< Point > | CreateDoorList () |
void | PlacePlatforms () |
List< Point > | CreatePlatformsList () |
void | PlaceSupportBeams () |
List< Rectangle > | CreateSupportBeamList () |
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 |
Definition at line 8 of file DesertHouseBuilder.cs.