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

◆ RandomRectanglePoint() [2/2]

static Point Terraria.WorldGen.RandomRectanglePoint ( Rectangle rectangle)
inlinestatic

Definition at line 18765 of file WorldGen.cs.

18766 {
18767 return new Point(genRand.Next(rectangle.X, rectangle.X + rectangle.Width), genRand.Next(rectangle.Y, rectangle.Y + rectangle.Height));
18768 }
static UnifiedRandom genRand
Definition WorldGen.cs:1215

Referenced by Terraria.WorldGen.GenerateWorld().