Add 'engine/' from commit 'a8e37fc010'
git-subtree-dir: engine git-subtree-mainline:b74841629egit-subtree-split:a8e37fc010
This commit is contained in:
commit
c3f9669b10
14113 changed files with 7458101 additions and 0 deletions
30
engine/doc/classes/NavigationServer2DManager.xml
Normal file
30
engine/doc/classes/NavigationServer2DManager.xml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="NavigationServer2DManager" inherits="Object" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
||||
<brief_description>
|
||||
A singleton for managing [NavigationServer2D] implementations.
|
||||
</brief_description>
|
||||
<description>
|
||||
[NavigationServer2DManager] is the API for registering [NavigationServer2D] implementations and setting the default implementation.
|
||||
[b]Note:[/b] It is not possible to switch servers at runtime. This class is only used on startup at the server initialization level.
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="register_server">
|
||||
<return type="void" />
|
||||
<param index="0" name="name" type="String" />
|
||||
<param index="1" name="create_callback" type="Callable" />
|
||||
<description>
|
||||
Registers a [NavigationServer2D] implementation by passing a [param name] and a [Callable] that returns a [NavigationServer2D] object.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_default_server">
|
||||
<return type="void" />
|
||||
<param index="0" name="name" type="String" />
|
||||
<param index="1" name="priority" type="int" />
|
||||
<description>
|
||||
Sets the default [NavigationServer2D] implementation to the one identified by [param name], if [param priority] is greater than the priority of the current default implementation.
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
</class>
|
||||
Loading…
Add table
Add a link
Reference in a new issue