The DtEngagementZonesManager will keep track of all the engagement zones and their state.
| virtual DtEngagementZonesManager::~DtEngagementZonesManager |
( |
| ) |
|
|
virtual |
| virtual void DtEngagementZonesManager::init |
( |
| ) |
|
|
virtual |
Adds callbacks for engagement zone types to watch for addition/removal.
| virtual void DtEngagementZonesManager::tick |
( |
| ) |
|
|
virtual |
Called each tick to clear out cache.
| virtual bool DtEngagementZonesManager::contactConsideredHostile |
( |
DtSimObjectReference |
engagementArea, |
|
|
const DtVector & |
localLocation, |
|
|
int |
perceivedForce |
|
) |
| const |
|
virtual |
Given an area, see if the entity in the given area should be considered a hostile entity. This will be true if the perceivedForce is DtForceOther and the location is in the engagement area, and the area is active, and the area considers unknown forces hostile.
| virtual bool DtEngagementZonesManager::isInsideEngagementArea |
( |
DtSimObjectReference |
engagementArea, |
|
|
const DtVector & |
localLocation |
|
) |
| const |
|
virtual |
Given an area, see if the location is inside the area.
The documentation for this class was generated from the following file: