Xor
A class in Root.Township, Alta.Intelligence.
Logical XOR operator for the AI's predicate system. Written as A ^ B.
- Listed in Creatures and AI
- Inherits or implements
Operator - Attributes
DebuggerDisplay
Constructors
| Member | What it is |
|---|---|
Xor(Predicate left, Predicate right) | Creates a Xor from left and right. |
Methods
| Member | What it is |
|---|---|
override Result Resolve(Result a, Result b) | Returns the higher weighted of two results when their bindings conflict, or null when they agree. |
override string ToString() | Returns the two sides joined by ^. |
protected override Predicate FromCompoundPart(CompoundPart compoundPart) | Builds an Xor from the first two remaining parts of a parsed compound. |