C# Class VeeGen.Generators.VGGBSPDungeon

Inheritance: VGGenerator
Exibir arquivo Open project: SuperV1234/VeeGen Class Usage Examples

Public Methods

Method Description
Connect ( VGArea mAreaStart, VGArea mAreaEnd ) : void
Connect2 ( VGArea mAreaStart, VGArea mAreaEnd ) : void
Generate ( VGArea mArea ) : void
Split ( List mAreas, bool mHorizontal, bool mApplySplitOffset ) : List
VGGBSPDungeon ( int mValueRoom, int mValuePath, int mValueSolid = 1, int mSplits = 2, int mMinimumSplitDistance = 4, int mSplitOffset = 1, bool mIsConnected = true, bool mIsCarved = true, int mCarveOffset, int mRemoveChancePercent = 5, bool mIsBorder = true ) : System

Method Details

Connect() public method

public Connect ( VGArea mAreaStart, VGArea mAreaEnd ) : void
mAreaStart VGArea
mAreaEnd VGArea
return void

Connect2() public method

public Connect2 ( VGArea mAreaStart, VGArea mAreaEnd ) : void
mAreaStart VGArea
mAreaEnd VGArea
return void

Generate() public method

public Generate ( VGArea mArea ) : void
mArea VGArea
return void

Split() public method

public Split ( List mAreas, bool mHorizontal, bool mApplySplitOffset ) : List
mAreas List
mHorizontal bool
mApplySplitOffset bool
return List

VGGBSPDungeon() public method

public VGGBSPDungeon ( int mValueRoom, int mValuePath, int mValueSolid = 1, int mSplits = 2, int mMinimumSplitDistance = 4, int mSplitOffset = 1, bool mIsConnected = true, bool mIsCarved = true, int mCarveOffset, int mRemoveChancePercent = 5, bool mIsBorder = true ) : System
mValueRoom int
mValuePath int
mValueSolid int
mSplits int
mMinimumSplitDistance int
mSplitOffset int
mIsConnected bool
mIsCarved bool
mCarveOffset int
mRemoveChancePercent int
mIsBorder bool
return System