Corridor.SetupCorridor Method

MyDungeon

CorridorSetupCorridor Method

Sets up Corridor location in map array

Namespace:  MyDungeon.DungeonGeneration.GridBasedGenerator
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public virtual void SetupCorridor(
	int x,
	int y,
	int length,
	Direction direction
)

Parameters

x
Type: SystemInt32
Starting X position
y
Type: SystemInt32
Starting Y position
length
Type: SystemInt32
Length of the corridor
direction
Type: MyDungeon.DungeonGeneration.GridBasedGeneratorDirection
Direction of the corridor
See Also