Interface IGoapStateKey
The
IGoapStateKey
identifies goap states and provides the possibility to check if their state values
are satisfied.
Namespace: Mars.Components.Services.Planning
Assembly: Mars.Components.dll
Syntax
public interface IGoapStateKey
Properties
| Improve this Doc View SourceKey
Distinguishes the
IGoapStateKey
s.
Declaration
string Key { get; }
Property Value
Type | Description |
---|---|
System.String |
PropertyType
Defines the type of the value.
Declaration
Type PropertyType { get; }
Property Value
Type | Description |
---|---|
System.Type |
Methods
| Improve this Doc View SourceSatisfies(Object, Object)
Indicates if given value is satisfied by the given
Declaration
bool Satisfies(object expected, object given)
Parameters
Type | Name | Description |
---|---|---|
System.Object | expected | the base value |
System.Object | given | the value that should comply with the the base value |
Returns
Type | Description |
---|---|
System.Boolean | true if given meet the expectations of value, false otherwise |