Class PatrolGroup
Represents a group of police officers on foot patrol. Manages patrol group movement, waypoints, and member coordination.
public sealed class PatrolGroup
- Inheritance
-
PatrolGroup
- Inherited Members
- Extension Methods
Properties
CurrentWaypoint
Gets the current waypoint index the patrol group is moving toward.
public int CurrentWaypoint { get; }
Property Value
MemberCount
Gets the number of officers in this patrol group.
public int MemberCount { get; }
Property Value
Route
Gets the patrol route this group is following.
public FootPatrolRoute Route { get; }
Property Value
Methods
AdvanceGroup()
Advances the patrol group to the next waypoint.
public void AdvanceGroup()
DisbandGroup()
Disbands the patrol group, releasing all officers back to their normal duties.
public void DisbandGroup()
IsGroupReadyToAdvance()
Checks if all members of the patrol group are ready to advance to the next waypoint.
public bool IsGroupReadyToAdvance()
Returns
- bool
True if all members are ready to advance.
IsPaused()
Checks if the patrol group is currently paused.
public bool IsPaused()
Returns
- bool
True if the patrol is paused.