Beispiel #1
0
 public BlobWaterStep(RandRange blobs, ITile terrain, int minScale, RandRange startScale)
     : base(terrain)
 {
     this.Blobs      = blobs;
     this.MinScale   = minScale;
     this.StartScale = startScale;
 }
Beispiel #2
0
 public RoomGenAngledHall(int turnBias, RandRange width, RandRange height)
 {
     this.HallTurnBias = turnBias;
     this.Brush        = new DefaultHallBrush();
     this.Width        = width;
     this.Height       = height;
 }
Beispiel #3
0
 public RoomGenCross(RandRange majorWidth, RandRange majorHeight, RandRange minorHeight, RandRange minorWidth)
 {
     this.MajorWidth  = majorWidth;
     this.MajorHeight = majorHeight;
     this.MinorWidth  = minorWidth;
     this.MinorHeight = minorHeight;
 }
Beispiel #4
0
 public RoomGenBlocked(ITile blockTerrain, RandRange width, RandRange height, RandRange blockWidth, RandRange blockHeight)
 {
     this.BlockTerrain = blockTerrain;
     this.Width        = width;
     this.Height       = height;
     this.BlockWidth   = blockWidth;
     this.BlockHeight  = blockHeight;
 }
Beispiel #5
0
 public PerlinWaterStep(RandRange waterPercent, int complexity, ITile terrain, int softness = default, bool respectFloor = default)
     : base(terrain)
 {
     this.WaterPercent    = waterPercent;
     this.OrderComplexity = complexity;
     this.OrderSoftness   = softness;
     this.RespectFloor    = respectFloor;
 }
Beispiel #6
0
 public RoomGenCave(RandRange width, RandRange height)
 {
     this.Width  = width;
     this.Height = height;
 }
Beispiel #7
0
 public bool Equals(RandRange other) => this.Min == other.Min && this.Max == other.Max;
Beispiel #8
0
 public RandRange(RandRange other)
 {
     this.Min = other.Min;
     this.Max = other.Max;
 }
Beispiel #9
0
 public RoomGenBump(RandRange width, RandRange height, RandRange bumpPercent)
 {
     this.Width       = width;
     this.Height      = height;
     this.BumpPercent = bumpPercent;
 }
Beispiel #10
0
 public ContextSpawner(RandRange amount)
 {
     this.Amount = amount;
 }
Beispiel #11
0
 public AddGridDefaultsStep(RandRange defaultRatio)
 {
     this.DefaultRatio = defaultRatio;
 }
Beispiel #12
0
 public RoomGenAngledHall(int turnBias, RandRange width, RandRange height)
 {
     this.HallTurnBias = turnBias;
     this.Width        = width;
     this.Height       = height;
 }
Beispiel #13
0
 public SetGridDefaultsStep(RandRange defaultRatio, List <BaseRoomFilter> filter)
 {
     this.DefaultRatio = defaultRatio;
     this.Filters      = filter;
 }
 public IntrudingBlobWaterStep(RandRange blobs, ITile terrain, int minScale, RandRange startScale)
     : base(blobs, terrain, minScale, startScale)
 {
 }