C# Class BSPTree, BSPDungeonGenerator

Inheritance: MonoBehaviour
Mostrar archivo Open project: Nathisgreen/BSPDungeonGenerator Class Usage Examples

Public Properties

Property Type Description
levelGrid Grid,
parentNode BSPNode,

Public Methods

Method Description
getGrid ( ) : Grid,
setTile ( int _x, int _y, int _value ) : void
split ( BSPNode, _aNode ) : void

Private Methods

Method Description
Start ( ) : void
addRoom ( BSPNode, _aNode ) : void
connectRooms ( BSPNode, _aNode ) : void
createLevel ( ) : void
createRooms ( BSPNode, _aNode ) : void
removeSingles ( int _x, int _y ) : void

Method Details

getGrid() public static method

public static getGrid ( ) : Grid,
return Grid,

setTile() public static method

public static setTile ( int _x, int _y, int _value ) : void
_x int
_y int
_value int
return void

split() public method

public split ( BSPNode, _aNode ) : void
_aNode BSPNode,
return void

Property Details

levelGrid public_oe static_oe property

public static Grid, levelGrid
return Grid,

parentNode public_oe property

public BSPNode, parentNode
return BSPNode,