Show / Hide Table of Contents

Namespace GoRogue.MapGeneration.ConnectionPointSelectors

Classes

CenterBoundsConnectionPointSelector

Implements a the selection algorithm that selects the center points of the bounding boxes of the given Area instances as connection points.

ClosestConnectionPointSelector

Implements a the selection algorithm that selects the two points closest to each other in the given Area instances.

RandomConnectionPointSelector

Implements a the selection algorithm that simply selects random points from the given areas' positions lists, using the RNG specified, or the default rng if null is given.

Structs

AreaConnectionPointPair

A pair of points in different areas that have been selected as connection points by an IConnectionPointSelector.

Interfaces

IConnectionPointSelector

Interface for implementing an algorithm for selecting the positions to connect in order to connect two given areas.

In this article
Back to top Generated by DocFX