Started work on procgen
This commit is contained in:
@@ -443,6 +443,13 @@ void WorldEditor::delete_building_handler()
|
||||
stream_world->run_command("get_closest_building", args2);
|
||||
}
|
||||
|
||||
void WorldEditor::remove_buildings_by_prefix(const String &prefix)
|
||||
{
|
||||
Array args;
|
||||
args.push_back(prefix);
|
||||
stream_world->run_command("remove_buildings_by_prefix", args);
|
||||
}
|
||||
|
||||
void WorldEditor::_bind_methods()
|
||||
{
|
||||
ClassDB::bind_method(D_METHOD("editor_command", "command", "args"),
|
||||
|
||||
Reference in New Issue
Block a user