AIBehaviour.cs
Description:
Contains conditions and actions that define behaviour.
Public Properties:
Type | Name | Description | Default Value |
string | name | | "New Behaviour" |
List<BehaviourEvent> | conditions | | |
List<BehaviourEvent> | actions | | |
int | threshold | The score theshold conditions need to reach for actions to execute (if behaviours are not competing). | |
Constructors:
Summary | Parameters | Returns |
| ‘string’ behaviourName, ‘List' behaviourConditions, 'List' behaviourActions | AIBehaviour |
| ‘string’ behaviourName, ‘List' behaviourConditions, 'List' behaviourActions, 'int' scoreThreshold | AIBehaviour |
Public Methods:
Name | Summary | Parameters | Returns |
CompareTo | | AIBehaviour other | int |
checkCondition | | int conditionIndex | abstract Void |