Show / Hide Table of Contents

Namespace GoRogue.MapGeneration.TunnelCreators

Classes

DirectLineTunnelCreator

Implements a tunnel creation algorithm that sets as walkable a direct line between the two points. In the case that Manhattan is being used, the line is calculated via the Orthogonal algorithm. Otherwise, the line is calculated using Bresenham.

HorizontalVerticalTunnelCreator

Implements a tunnel creation algorithm that creates a tunnel that performs all needed vertical movement before horizontal movement, or vice versa (depending on rng).

Interfaces

ITunnelCreator

Interface for implementing an algorithm for creating a tunnel between two positions on a walkability map.

In this article
Back to top Generated by DocFX