UnitDecisionLeaf Class |
Namespace: EmptyKeys.Strategy.AI.Components.Decisions
public class UnitDecisionLeaf : BaseDecisionTreeNode
The UnitDecisionLeaf type exposes the following members.
| Name | Description | |
|---|---|---|
| UnitDecisionLeaf |
Initializes a new instance of the UnitDecisionLeaf class.
|
| Name | Description | |
|---|---|---|
| BehaviorName |
Gets or sets the name of the behavior.
| |
| GoalPercentage | (Inherited from BaseDecisionTreeNode.) | |
| IsNodeValid | (Inherited from BaseDecisionTreeNode.) | |
| UnitTypeName |
Gets or sets the name of the unit type.
| |
| Value | (Inherited from BaseDecisionTreeNode.) |
| Name | Description | |
|---|---|---|
| CalculateValue |
Calculates the value.
(Overrides BaseDecisionTreeNode.CalculateValue(IBehaviorContext).) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MakeDecision |
Makes the decision.
(Overrides BaseDecisionTreeNode.MakeDecision(IBehaviorContext).) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |