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

Allocates valid points for crowd type NPCs to find and take ownership over. More...

Inheritance diagram for CrowdPointAllocator:

Public Member Functions

Transform ReceiveStandingPoint (GameObject pointOwner)
 
List< Transform > ReceiveStandingPointsForGroup (List< Follower > followers)
 

Public Attributes

List< CrowdPointpoints = new()
 
 int
 Returns a valid spot to stand in a crowd if there is one.
 

Detailed Description

Allocates valid points for crowd type NPCs to find and take ownership over.

Member Function Documentation

◆ ReceiveStandingPoint()

Transform CrowdPointAllocator.ReceiveStandingPoint ( GameObject pointOwner)

◆ ReceiveStandingPointsForGroup()

List< Transform > CrowdPointAllocator.ReceiveStandingPointsForGroup ( List< Follower > followers)

Member Data Documentation

◆ int

CrowdPointAllocator.int

Returns a valid spot to stand in a crowd if there is one.

Returns valid spots for each follower in a group.

Returns
The integer value and the transform of the spot to stand
Parameters
followersThe followers in the group
Returns
The integer for the first spot to stand for the leader and a list of transforms for each spot

◆ points

List<CrowdPoint> CrowdPointAllocator.points = new()

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