Class GoapStateProperty<TElement>
Defines a world state property in a GOAP usage context.
Inheritance
System.Object
GoapStateProperty<TElement>
Assembly: Mars.Components.dll
Syntax
public class GoapStateProperty<TElement> : GoapStateProperty, IEquatable<GoapStateProperty<TElement>>
Type Parameters
Name |
Description |
TElement |
|
Constructors
GoapStateProperty(IGoapStateKey, TElement)
Declaration
public GoapStateProperty(IGoapStateKey key, TElement value)
Parameters
Methods
Equals(GoapStateProperty<TElement>)
Declaration
public bool Equals(GoapStateProperty<TElement> other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object o)
Parameters
Type |
Name |
Description |
System.Object |
o |
|
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Satisfies(GoapStateProperty<TElement>)
Indicates if a given
GoapStateProperty
fits the expectations of this object.
Declaration
public bool Satisfies(GoapStateProperty<TElement> other)
Parameters
Returns
Type |
Description |
System.Boolean |
True, if other satisfies this, false otherwise. |
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Implements
IEquatable<>