Sarafun Behavior Trees package  1
Behavior trees for the SARAFun project
 All Data Structures Namespaces Functions Variables Enumerations Enumerator
void tree_generator::YamlCreator::addField ( std::string  label,
std::string  field,
int  value 
)

Adds a field with a given value to a given label. If the label does not exist in the base node, it will be created.

Parameters
labelThe keyframe label
fieldThe parameter field name
valueThe parameter value.

Definition at line 8 of file YamlCreator.cpp.

References base_node_.