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

◆ MapSectionDrawn()

bool Terraria.WorldSections.MapSectionDrawn ( int x,
int y )
inline

Definition at line 140 of file WorldSections.cs.

141 {
142 if (x < 0 || x >= width)
143 {
144 return false;
145 }
146 if (y < 0 || y >= height)
147 {
148 return false;
149 }
150 return data[y * width + x][2];
151 }

References Terraria.WorldSections.data, Terraria.WorldSections.height, and Terraria.WorldSections.width.