C# Class IterativeGenerator, CaveGenerator

Inheritance: AbstractGenerator
ファイルを表示 Open project: AlecLafita/CaveGenerator

Public Methods

Method Description
generate ( Polyline, originPoly, float holeProb ) : IEnumerator,

Protected Methods

Method Description
addElementToDataStructure ( Polyline, p, int canIntersect ) : void
createDataStructure ( Polyline, iniP ) : void
initializeDataStructure ( int &canIntersect, Polyline, &p ) : void
isDataStructureEmpty ( ) : bool

Private Methods

Method Description
Awake ( ) : void

Method Details

addElementToDataStructure() abstract protected method

abstract protected addElementToDataStructure ( Polyline, p, int canIntersect ) : void
p Polyline,
canIntersect int
return void

createDataStructure() abstract protected method

abstract protected createDataStructure ( Polyline, iniP ) : void
iniP Polyline,
return void

generate() public method

public generate ( Polyline, originPoly, float holeProb ) : IEnumerator,
originPoly Polyline,
holeProb float
return IEnumerator,

initializeDataStructure() abstract protected method

abstract protected initializeDataStructure ( int &canIntersect, Polyline, &p ) : void
canIntersect int
p Polyline,
return void

isDataStructureEmpty() abstract protected method

abstract protected isDataStructureEmpty ( ) : bool
return bool