C# Class RandomMapGeneration, DarkDreams

Inheritance: MonoBehaviour
Show file Open project: technicalvgda/DarkDreams

Public Properties

Property Type Description
extraRoom Transform[]
heightOfRoom int
lengthOfRoom int
roomsWithItem Stack
sizeOfMapX int
sizeOfMapY int

Public Methods

Method Description
Awake ( ) : void
chooseItemRooms ( List rooms, int level ) : void
generateRandomDoor ( ) : void
initializeRooms ( ) : void
instantiateRooms ( ) : void
setLinkedDoorPrefab ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

chooseItemRooms() public method

public chooseItemRooms ( List rooms, int level ) : void
rooms List
level int
return void

generateRandomDoor() public method

public generateRandomDoor ( ) : void
return void

initializeRooms() public method

public initializeRooms ( ) : void
return void

instantiateRooms() public method

public instantiateRooms ( ) : void
return void

setLinkedDoorPrefab() public method

public setLinkedDoorPrefab ( ) : void
return void

Property Details

extraRoom public property

public Transform[] extraRoom
return Transform[]

heightOfRoom public property

public int heightOfRoom
return int

lengthOfRoom public property

public int lengthOfRoom
return int

roomsWithItem public property

public Stack roomsWithItem
return Stack

sizeOfMapX public property

public int sizeOfMapX
return int

sizeOfMapY public property

public int sizeOfMapY
return int