C# Class BSPTree, BSPDungeonGenerator

Inheritance: MonoBehaviour
Afficher le fichier Open project: Nathisgreen/BSPDungeonGenerator Class Usage Examples

Méthodes publiques

Свойство Type Description
levelGrid Grid,
parentNode BSPNode,

Méthodes publiques

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

Private Methods

Méthode 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 méthode

public static getGrid ( ) : Grid,
Résultat Grid,

setTile() public static méthode

public static setTile ( int _x, int _y, int _value ) : void
_x int
_y int
_value int
Résultat void

split() public méthode

public split ( BSPNode, _aNode ) : void
_aNode BSPNode,
Résultat void

Property Details

levelGrid public_oe static_oe property

public static Grid, levelGrid
Résultat Grid,

parentNode public_oe property

public BSPNode, parentNode
Résultat BSPNode,