C# Class CellMaster, DoomRoom

Inheritance: MonoBehaviour
Afficher le fichier Open project: EddieCameron/DoomRoom Class Usage Examples

Méthodes publiques

Свойство Type Description
_areaSize float
_cellSize float
pathAffectingLayers LayerMask
wallDensity float

Méthodes publiques

Méthode Description
Awake ( ) : void
GenLayout ( ) : void
GetCellAt ( Vector3 pos ) : Cell,
GetCellAt ( int x, int y ) : Cell,
GetPathAffectingLayers ( ) : LayerMask
OnDisable ( ) : void
Start ( ) : void

Private Methods

Méthode Description
AddCellToRoom ( Cell, newCell, int inRoom ) : bool

Adds the cell to given room.

OpenCellInDirection ( Cell, toOpen, Direction, inDir ) : Cell,

Opens the cell in direction.

PrintLayout ( ) : void
RandomDirection ( ) : Direction,

Method Details

Awake() public méthode

public Awake ( ) : void
Résultat void

GenLayout() public méthode

public GenLayout ( ) : void
Résultat void

GetCellAt() public static méthode

public static GetCellAt ( Vector3 pos ) : Cell,
pos Vector3
Résultat Cell,

GetCellAt() public static méthode

public static GetCellAt ( int x, int y ) : Cell,
x int
y int
Résultat Cell,

GetPathAffectingLayers() public static méthode

public static GetPathAffectingLayers ( ) : LayerMask
Résultat LayerMask

OnDisable() public méthode

public OnDisable ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Property Details

_areaSize public_oe property

public float _areaSize
Résultat float

_cellSize public_oe property

public float _cellSize
Résultat float

pathAffectingLayers public_oe property

public LayerMask pathAffectingLayers
Résultat LayerMask

wallDensity public_oe property

public float wallDensity
Résultat float