S.A.P.S V0.4.0
A virtual reality stealth action game
 
Loading...
Searching...
No Matches
CrowdManager Class Reference

Class CrowdManager is used to manage the spawning of crowds in the scene. More...

Inheritance diagram for CrowdManager:

Public Member Functions

void SpawnIndividualCrowd (int spawnPointIndex=0, bool editorControlled=false)
 Method SpawnIndividualCrowd spawns a crowd at a specific spawn point.
 
void SpawnAllCrowds (List< int > excludedSpawnPoints)
 Method SpawnAllCrowds spawns a crowd with 7 max people at all available spawn points.
 

Detailed Description

Class CrowdManager is used to manage the spawning of crowds in the scene.

Member Function Documentation

◆ SpawnAllCrowds()

void CrowdManager.SpawnAllCrowds ( List< int > excludedSpawnPoints)

Method SpawnAllCrowds spawns a crowd with 7 max people at all available spawn points.

This is able to exclude spawn points by passing a list of integers that represent the index of the spawn point to exclude.

◆ SpawnIndividualCrowd()

void CrowdManager.SpawnIndividualCrowd ( int spawnPointIndex = 0,
bool editorControlled = false )

Method SpawnIndividualCrowd spawns a crowd at a specific spawn point.

This method should mainly be used by the Editor tool to spawn a crowd at a specific spawn point for testing.


The documentation for this class was generated from the following file: