C# Class InfiniteGenerator, angrygoats

Inheritance: MonoBehaviour
Show file 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 property

public AstarPath, aStarGrids
return AstarPath,

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

r public property

public GameObject r
return GameObject

roomPrefab public property

public GameObject roomPrefab
return GameObject

roomsToSpawn public property

public int roomsToSpawn
return int

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