grail (C  1.0.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
Grail.Planning.WorldObject Class Reference
Inheritance diagram for Grail.Planning.WorldObject:
Collaboration diagram for Grail.Planning.WorldObject:

Public Member Functions

 WorldObject (WorldObjectType type)
 
 WorldObject (WorldObject other)
 
bool IsOfType (int typeID)
 
bool IsOfType (string name)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
override string ToString ()
 
- Public Member Functions inherited from Grail.Planning.ParametrizedObject
void MergeParameters (ParametrizedObject other)
 
int GetParametersSize ()
 
Returns
The number of parameters assigned to this object

 
bool Contains (string name)
 
Returns
true if the object contains a parameter with the given name, false otherwise

 
void SetParameter< ParameterType > (string name, ParameterType value)
 
ParameterType GetParameterValue< ParameterType > (string name)
 
bool CollectionContains (string collectionName, int objectIndex)
 
void AddCollection (string collectionName)
 
SortedSet< int > GetCollection (string collectionName)
 
bool HasEqualParams (ParametrizedObject other)
 
void SerializeForGUI (Dictionary< string, string > state)
 

Properties

int ObjectId [get, set]
 
string TypeName [get]
 

Additional Inherited Members

- Protected Member Functions inherited from Grail.Planning.ParametrizedObject
 ParametrizedObject (ParametrizedObject other)
 
- Protected Attributes inherited from Grail.Planning.ParametrizedObject
Dictionary< string, ObjectParameterparameters
 
Dictionary< string, SortedSet< int > > indexCollections
 

The documentation for this class was generated from the following file: