#ifndef NAVIGATION_MESH_GENERATOR_DUMMY_H #define NAVIGATION_MESH_GENERATOR_DUMMY_H /**************************************************************************/ /* navigation_mesh_generator_dummy.h */ /**************************************************************************/ /* This file is part of: */ /* GODOT ENGINE */ /* https://godotengine.org */ /**************************************************************************/ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ /* "Software"), to deal in the Software without restriction, including */ /* without limitation the rights to use, copy, modify, merge, publish, */ /* distribute, sublicense, and/or sell copies of the Software, and to */ /* permit persons to whom the Software is furnished to do so, subject to */ /* the following conditions: */ /* */ /* The above copyright notice and this permission notice shall be */ /* included in all copies or substantial portions of the Software. */ /* */ /* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ /* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ /* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */ /* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ /* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ /* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ #include "servers/navigation/navigation_mesh_generator.h" #include "core/object/func_ref.h" class Node; class NavigationGeometryParser2D; class NavigationGeometryParser3D; class NavigationMeshSourceGeometryData2D; class NavigationMeshSourceGeometryData3D; class NavigationPolygon; class NavigationMesh; class FuncRef; class NavigationMeshGeneratorDummy : public NavigationMeshGenerator { GDCLASS(NavigationMeshGeneratorDummy, NavigationMeshGenerator); public: virtual void cleanup(); virtual void process(); // 2D ////////////////////////////// virtual void register_geometry_parser_2d(Ref p_geometry_parser); virtual void unregister_geometry_parser_2d(Ref p_geometry_parser); virtual Ref parse_2d_source_geometry_data(Ref p_navigation_polygon, Node *p_root_node, Ref p_callback = Ref()); virtual void bake_2d_from_source_geometry_data(Ref p_navigation_polygon, Ref p_source_geometry_data, Ref p_callback = Ref()); virtual void parse_and_bake_2d(Ref p_navigation_polygon, Node *p_root_node, Ref p_callback = Ref()); virtual bool is_navigation_polygon_baking(Ref p_navigation_polygon) const; }; #endif // NAVIGATION_MESH_GENERATOR_DUMMY_H