mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-05-29 08:52:06 +00:00
updated everything with node
This commit is contained in:
@@ -44,6 +44,16 @@ namespace BBM
|
||||
return childs;
|
||||
}
|
||||
|
||||
std::vector<Node> Node::getChildNodes(void)
|
||||
{
|
||||
std::vector<Node> childs;
|
||||
|
||||
for (const auto &child : this->_childNodes) {
|
||||
childs.emplace_back(child);
|
||||
}
|
||||
return childs;
|
||||
}
|
||||
|
||||
void Node::setName(const std::string &name)
|
||||
{
|
||||
this->_name = name;
|
||||
|
||||
Reference in New Issue
Block a user