C# Class LevelGenerator, angrygoats

Inheritance: MonoBehaviour
Mostra 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_oe property

public AstarPath aStarGrids
return AstarPath

actseed public_oe property

public int actseed
return int

boss public_oe property

public GameObject boss
return GameObject

bossFloor public_oe property

public GameObject bossFloor
return GameObject

enemies public_oe property

public List enemies
return List

enemyCommonness public_oe property

public List enemyCommonness
return List

floorPrefabs public_oe property

public List floorPrefabs
return List

maxEnemiesPerRoom public_oe property

public int maxEnemiesPerRoom
return int

maxWebs public_oe property

public int maxWebs
return int

minWebs public_oe property

public int minWebs
return int

minimapUI public_oe property

public GameObject minimapUI
return GameObject

roomPrefab public_oe property

public GameObject roomPrefab
return GameObject

roomsToSpawn public_oe property

public int roomsToSpawn
return int

seed public_oe property

public string seed
return string

startPrefab public_oe property

public GameObject startPrefab
return GameObject

totalEnemies public_oe property

public int totalEnemies
return int

trash public_oe property

public GameObject trash
return GameObject

web public_oe property

public GameObject web
return GameObject