C# Class InfiniteGenerator, angrygoats

Inheritance: MonoBehaviour
Mostrar archivo Open project: dulb640/angrygoats Class Usage Examples

Public Properties

Property 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

Public Methods

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

SetAdj() public method

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

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

aStarGrids public_oe property

public AstarPath, aStarGrids
return AstarPath,

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

r public_oe property

public GameObject r
return GameObject

roomPrefab public_oe property

public GameObject roomPrefab
return GameObject

roomsToSpawn public_oe property

public int roomsToSpawn
return int

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