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

◆ FindBoulderTrapSpot()

void Terraria.GameContent.Biomes.DeadMansChestBiome.FindBoulderTrapSpot ( Point position)
inlineprivate

Definition at line 222 of file DeadMansChestBiome.cs.

223 {
224 int x = position.X;
225 int y = position.Y;
226 for (int i = 0; i < 50; i++)
227 {
228 if (Main.tile[x, y - i].active())
229 {
230 PlaceBoulderTrapSpot(new Point(x, y - i), i);
231 break;
232 }
233 }
234 }
void PlaceBoulderTrapSpot(Point position, int yPush)

References Terraria.GameContent.Biomes.DeadMansChestBiome.PlaceBoulderTrapSpot(), Terraria.Main.tile, Microsoft.Xna.Framework.Point.X, and Microsoft.Xna.Framework.Point.Y.

Referenced by Terraria.GameContent.Biomes.DeadMansChestBiome.FindBoulderTrapSpots().