C# Class MapGen, chrawl

Inheritance: MonoBehaviour
Exibir arquivo Open project: PentaHelix/chrawl Class Usage Examples

Public Methods

Method Description
ClearMap ( ) : void
GetNodes ( int x, int y ) : List
Make ( int level ) : void
StructureDimensions ( int x, int y ) : int[]

Private Methods

Method Description
GenerateRoom ( Structure, baseStruct = null ) : bool
GetEmpty ( Structure, s, string t = "Normal" ) : int[]
GetMapVal ( int x, int y ) : int
MakeBookcases ( ) : void
MakeBounds ( ) : void
MakeCells ( ) : void
MakeChandeliers ( ) : void
MakeChests ( ) : void
MakeDoorways ( ) : void
MakeEnemies ( ) : void
MakeFloors ( ) : void
MakeMapData ( ) : void
MakeShops ( ) : void
MakeSpecials ( ) : void
MakeStairs ( ) : void
MakeStairways ( int level ) : void
MakeTorches ( ) : void
MakeWalls ( ) : void
Opposite ( int d ) : int
Place ( int x, int y, float h, GameObject g ) : void
PlaceWall ( int x, int y ) : void
SetSpecials ( ) : void
StructureOn ( Vector2 v ) : Structure
StructureOn ( int x, int y ) : Structure

Method Details

ClearMap() public method

public ClearMap ( ) : void
return void

GetNodes() public method

public GetNodes ( int x, int y ) : List
x int
y int
return List

Make() public method

public Make ( int level ) : void
level int
return void

StructureDimensions() public method

public StructureDimensions ( int x, int y ) : int[]
x int
y int
return int[]