The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Static Public Member Functions | List of all members
ai::component_manager Class Reference

#include <component.hpp>

Static Public Member Functions

static bool add_component (component *root, const std::string &path, const config &cfg)
 
static bool change_component (component *root, const std::string &path, const config &cfg)
 
static bool delete_component (component *root, const std::string &path)
 
static std::string print_component_tree (component *root, const std::string &path)
 
static componentget_component (component *root, const std::string &path)
 

Detailed Description

Definition at line 83 of file component.hpp.

Member Function Documentation

bool ai::component_manager::add_component ( component root,
const std::string path,
const config cfg 
)
static
bool ai::component_manager::change_component ( component root,
const std::string path,
const config cfg 
)
static
bool ai::component_manager::delete_component ( component root,
const std::string path 
)
static

Definition at line 219 of file component.cpp.

References ai::component::delete_child(), and ai::find_component().

Referenced by ai::holder::modify_ai().

component * ai::component_manager::get_component ( component root,
const std::string path 
)
static

Definition at line 268 of file component.cpp.

References ai::find_component().

Referenced by ai::holder::get_component().

std::string ai::component_manager::print_component_tree ( component root,
const std::string path 
)
static

Definition at line 250 of file component.cpp.

References c, ERR_AI_COMPONENT, ai::find_component(), and ai::print_component().

Referenced by ai::holder::get_ai_structure().


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