A class representing a planner WorldObject type - its name and inheritance structure.
More...
|
| WorldObjectType (string name, List< string > bases=null) |
|
| WorldObjectType (WorldObjectType other) |
|
bool | IsOfType (int type) |
|
bool | IsOfType (string name) |
|
void | InheritFromType (WorldObjectType type) |
|
WorldObject | InstantiateObject () |
|
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) |
|
|
int | TypeIndex [get, set] |
|
string | Name [get] |
|
List< string > | BaseTypes [get] |
|
A class representing a planner WorldObject type - its name and inheritance structure.
◆ WorldObjectType()
Grail.Planning.WorldObjectType.WorldObjectType |
( |
string |
name, |
|
|
List< string > |
bases = null |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file:
- GrailPlanners/source/Planning/Planner/WorldState/WorldObjectType.cs