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

◆ RandomWorldPoint() [2/2]

static Point Terraria.WorldGen.RandomWorldPoint ( int top = 0,
int right = 0,
int bottom = 0,
int left = 0 )
inlinestatic

Definition at line 19870 of file WorldGen.cs.

19871 {
19872 //IL_0024: Unknown result type (might be due to invalid IL or missing references)
19873 return new Point(genRand.Next(left, Main.maxTilesX - right), genRand.Next(top, Main.maxTilesY - bottom));
19874 }
static UnifiedRandom genRand
Definition WorldGen.cs:1455

References Terraria.Main.maxTilesX, and Terraria.Main.maxTilesY.