C# Class LevelGenerator, angrygoats

Inheritance: MonoBehaviour
Show file Open project: dulb640/angrygoats Class Usage Examples

Public Properties

Property Type Description
aStarGrids AstarPath
actseed int
boss GameObject
bossFloor GameObject
enemies List
enemyCommonness List
floorPrefabs List
maxEnemiesPerRoom int
maxWebs int
minWebs int
minimapUI GameObject
roomPrefab GameObject
roomsToSpawn int
seed string
startPrefab GameObject
totalEnemies int
trash GameObject
web GameObject

Public Methods

Method Description
IsEmpty ( Vector2 index ) : bool
SetAdj ( RoomControl room, Vector2 dir, RoomControl adjRoom ) : void

Private Methods

Method Description
IsNextToEmpty ( RoomControl room ) : bool
RandomEmpty ( RoomControl room ) : Vector2
RandomNotEmpty ( RoomControl room ) : Vector2
RandomRoom ( ) : RoomControl
get ( Vector2 pos ) : RoomControl

Method Details

IsEmpty() public method

public IsEmpty ( Vector2 index ) : bool
index Vector2
return bool

SetAdj() public method

public SetAdj ( RoomControl room, Vector2 dir, RoomControl adjRoom ) : void
room RoomControl
dir Vector2
adjRoom RoomControl
return void

Property Details

aStarGrids public property

public AstarPath aStarGrids
return AstarPath

actseed public property

public int actseed
return int

boss public property

public GameObject boss
return GameObject

bossFloor public property

public GameObject bossFloor
return GameObject

enemies public property

public List enemies
return List

enemyCommonness public property

public List enemyCommonness
return List

floorPrefabs public property

public List floorPrefabs
return List

maxEnemiesPerRoom public property

public int maxEnemiesPerRoom
return int

maxWebs public property

public int maxWebs
return int

minWebs public property

public int minWebs
return int

minimapUI public property

public GameObject minimapUI
return GameObject

roomPrefab public property

public GameObject roomPrefab
return GameObject

roomsToSpawn public property

public int roomsToSpawn
return int

seed public property

public string seed
return string

startPrefab public property

public GameObject startPrefab
return GameObject

totalEnemies public property

public int totalEnemies
return int

trash public property

public GameObject trash
return GameObject

web public property

public GameObject web
return GameObject