#include <PartitionManager.h>
Inherits PartitionFilter.
Public Types | |
| enum | RelationshipAllowTypes { ALLOW_ALLIES = (1<<ALLIES) , ALLOW_ENEMIES = (1<<ENEMIES) , ALLOW_NEUTRAL = (1<<NEUTRAL) } |
Public Member Functions | |
| PartitionFilterRelationship (const Object *obj, Int flags) | |
| virtual Bool | allow (Object *objOther) |
Reject any objects that don't match the alliance affiliations compared with 'm_obj'. You may reject objects that are allied, neutral, or enemy with respect to it.
Definition at line 656 of file PartitionManager.h.
| Enumerator | |
|---|---|
| ALLOW_ALLIES | allow objects that m_obj considers allies |
| ALLOW_ENEMIES | allow objects that m_obj considers enemy |
| ALLOW_NEUTRAL | allow objects that m_obj considers neutral |
Definition at line 662 of file PartitionManager.h.
Definition at line 668 of file PartitionManager.h.
Implements PartitionFilter.
Definition at line 5230 of file PartitionManager.cpp.