#undef NDEBUG #include #include #include #include #include #include #include #include #include #include #include #include #include "road_lines_editor.h" #include "world_editor.h" #include "editor_event.h" #include "buildings_editor.h" class HandleCommandButton : public Object { GDCLASS(HandleCommandButton, Object) WorldEditor *editor; String button_path; String command; Array command_args; Button *get_button() { Button *button = Object::cast_to