Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CleanupArea()

static void Terraria.GameContent.Biomes.DesertBiome.CleanupArea ( Rectangle area)
inlinestaticprivate

Definition at line 55 of file DesertBiome.cs.

56 {
57 for (int i = -20 + area.Left; i < area.Right + 20; i++)
58 {
59 for (int j = -20 + area.Top; j < area.Bottom + 20; j++)
60 {
61 if (i > 0 && i < Main.maxTilesX - 1 && j > 0 && j < Main.maxTilesY - 1)
62 {
63 WorldGen.SquareWallFrame(i, j);
64 WorldUtils.TileFrame(i, j, frameNeighbors: true);
65 }
66 }
67 }
68 }
static void TileFrame(int x, int y, bool frameNeighbors=false)
Definition WorldUtils.cs:61

References Microsoft.Xna.Framework.Rectangle.Left, Terraria.Main.maxTilesY, Terraria.WorldGen.SquareWallFrame(), Terraria.WorldBuilding.WorldUtils.TileFrame(), and Microsoft.Xna.Framework.Rectangle.Top.

Referenced by Terraria.GameContent.Biomes.DesertBiome.Place().