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

◆ nearPicture()

static bool Terraria.WorldGen.nearPicture ( int x,
int y )
inlinestatic

Definition at line 26123 of file WorldGen.cs.

26124 {
26125 for (int i = x - 4; i <= x + 3; i++)
26126 {
26127 for (int j = y - 3; j <= y + 2; j++)
26128 {
26129 if (Main.tile[i, j].active())
26130 {
26131 return true;
26132 }
26133 }
26134 }
26135 return false;
26136 }

References Terraria.Main.tile.