tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.WorldBuilding.WorldGenRange Class Reference

Public Types

enum class  ScalingMode { None , WorldArea , WorldWidth }
 

Public Member Functions

 WorldGenRange (int minimum, int maximum)
 
int GetRandom (UnifiedRandom random)
 

Public Attributes

readonly int Maximum
 
readonly int Minimum
 
readonly ScalingMode ScaleWith
 

Static Public Attributes

static readonly WorldGenRange Empty = new WorldGenRange(0, 0)
 

Properties

int ScaledMaximum [get]
 
int ScaledMinimum [get]