public ActionPlanner() { _numConditionNames = 0; for (var i = 0; i < MAX_CONDITIONS; ++i) { conditionNames[i] = null; _preConditions[i] = WorldState.create(this); _postConditions[i] = WorldState.create(this); } }
/// <summary> /// convenince method for fetching a WorldState object /// </summary> /// <returns>The world state.</returns> public WorldState createWorldState() { return(WorldState.create(this)); }