Table of Contents

Method ScatterRoom

Namespace
GrindFest.Editor
Assembly
GrindFest.dll

ScatterRoom(string, FieldSetup, ShapeGeneratorBase, int, bool, float, FieldPlanner)

Create a standard scatter room with doorway detection and push-out. This is the most common room pattern: randomly placed, pushed apart, with doorways detected at contact points.

protected FieldPlanner ScatterRoom(string name, FieldSetup fs, ShapeGeneratorBase shape, int count = 1, bool exposeCount = false, float scatterRange = 4, FieldPlanner entrancePlanner = null)

Parameters

name string
fs FieldSetup
shape ShapeGeneratorBase
count int
exposeCount bool
scatterRange float
entrancePlanner FieldPlanner

Returns

FieldPlanner