trying to find a consistent and C++1x styled graph representation
This commit is contained in:
parent
f6c7f1adbb
commit
2e151b87c6
13 changed files with 528 additions and 31 deletions
|
@ -8,7 +8,7 @@ void script_scene::load(sol::table &ns)
|
|||
{
|
||||
|
||||
ns.new_usertype<node>("node",
|
||||
sol::constructors<node(), node(std::string)>(),
|
||||
sol::constructors<node()>(),
|
||||
"add_child",&node::add_child,
|
||||
"children",sol::readonly_property(&node::children),
|
||||
"child_count",sol::readonly_property(&node::child_count),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue