C# Class InfiniteGenerator, angrygoats

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

Méthodes publiques

Свойство Type Description
aStarGrids AstarPath,
boss GameObject
bossFloor GameObject
enemies List
enemyCommonness List
floorPrefabs List
maxEnemiesPerRoom int
maxWebs int
minWebs int
minimapUI GameObject
r GameObject
roomPrefab GameObject
roomsToSpawn int
startPrefab GameObject
totalEnemies int
trash GameObject
web GameObject

Méthodes publiques

Méthode Description
IsEmpty ( Vector2 pos ) : bool
SetAdj ( RoomControl, room, Vector2 dir, RoomControl, adjRoom ) : void
Start ( ) : void
Update ( ) : 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 pos ) : bool
pos 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

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

aStarGrids public_oe property

public AstarPath, aStarGrids
Résultat AstarPath,

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

r public_oe property

public GameObject r
Résultat GameObject

roomPrefab public_oe property

public GameObject roomPrefab
Résultat GameObject

roomsToSpawn public_oe property

public int roomsToSpawn
Résultat int

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