Class GoapStateKey<T>
Standard IGoapStateKey that provides a Satisfies-method for some basic types.
Inheritance
System.Object
GoapStateKey<T>
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Mars.Components.Services.Planning
Assembly: Mars.Components.dll
Syntax
public class GoapStateKey<T> : IGoapStateKey
Type Parameters
Name | Description |
---|---|
T |
Constructors
| Improve this Doc View SourceGoapStateKey(String, Func<Object, Object, Boolean>)
Standard IGoapStateKey that provides a Satisfies-method for some basic types.
Declaration
public GoapStateKey(string key, Func<object, object, bool> satisfyPredicate = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | |
System.Func<System.Object, System.Object, System.Boolean> | satisfyPredicate |
Properties
| Improve this Doc View SourceKey
Standard IGoapStateKey that provides a Satisfies-method for some basic types.
Declaration
public string Key { get; }
Property Value
Type | Description |
---|---|
System.String |
PropertyType
Standard IGoapStateKey that provides a Satisfies-method for some basic types.
Declaration
public Type PropertyType { get; }
Property Value
Type | Description |
---|---|
System.Type |
Methods
| Improve this Doc View SourceSatisfies(Object, Object)
Standard IGoapStateKey that provides a Satisfies-method for some basic types.
Declaration
public bool Satisfies(object expected, object given)
Parameters
Type | Name | Description |
---|---|---|
System.Object | expected | |
System.Object | given |
Returns
Type | Description |
---|---|
System.Boolean |
ToString()
Standard IGoapStateKey that provides a Satisfies-method for some basic types.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()