C# Class LevelGenerator, angrygoats

Inheritance: MonoBehaviour
Afficher le fichier Open project: dulb640/angrygoats Class Usage Examples

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode Description
IsEmpty ( Vector2 index ) : bool
SetAdj ( RoomControl room, Vector2 dir, RoomControl adjRoom ) : void

Private Methods

Méthode Description
IsNextToEmpty ( RoomControl room ) : bool
RandomEmpty ( RoomControl room ) : Vector2
RandomNotEmpty ( RoomControl room ) : Vector2
RandomRoom ( ) : RoomControl
get ( Vector2 pos ) : RoomControl

Method Details

IsEmpty() public méthode

public IsEmpty ( Vector2 index ) : bool
index Vector2
Résultat bool

SetAdj() public méthode

public SetAdj ( RoomControl room, Vector2 dir, RoomControl adjRoom ) : void
room RoomControl
dir Vector2
adjRoom RoomControl
Résultat void

Property Details

aStarGrids public_oe property

public AstarPath aStarGrids
Résultat AstarPath

actseed public_oe property

public int actseed
Résultat int

boss public_oe property

public GameObject boss
Résultat GameObject

bossFloor public_oe property

public GameObject bossFloor
Résultat GameObject

enemies public_oe property

public List enemies
Résultat List

enemyCommonness public_oe property

public List enemyCommonness
Résultat List

floorPrefabs public_oe property

public List floorPrefabs
Résultat List

maxEnemiesPerRoom public_oe property

public int maxEnemiesPerRoom
Résultat int

maxWebs public_oe property

public int maxWebs
Résultat int

minWebs public_oe property

public int minWebs
Résultat int

minimapUI public_oe property

public GameObject minimapUI
Résultat GameObject

roomPrefab public_oe property

public GameObject roomPrefab
Résultat GameObject

roomsToSpawn public_oe property

public int roomsToSpawn
Résultat int

seed public_oe property

public string seed
Résultat string

startPrefab public_oe property

public GameObject startPrefab
Résultat GameObject

totalEnemies public_oe property

public int totalEnemies
Résultat int

trash public_oe property

public GameObject trash
Résultat GameObject

web public_oe property

public GameObject web
Résultat GameObject