mirror of
https://github.com/godotengine/godot
synced 2024-09-05 06:18:39 +00:00
Merge pull request #43260 from HaSa1002/mainloop-remove-deprecated-methods
MainLoop: Remove deprecated methods
This commit is contained in:
commit
e8794b24bd
|
@ -33,11 +33,6 @@
|
|||
#include "core/script_language.h"
|
||||
|
||||
void MainLoop::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("init"), &MainLoop::init);
|
||||
ClassDB::bind_method(D_METHOD("iteration", "delta"), &MainLoop::iteration);
|
||||
ClassDB::bind_method(D_METHOD("idle", "delta"), &MainLoop::idle);
|
||||
ClassDB::bind_method(D_METHOD("finish"), &MainLoop::finish);
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_initialize"));
|
||||
BIND_VMETHOD(MethodInfo(Variant::BOOL, "_iteration", PropertyInfo(Variant::FLOAT, "delta")));
|
||||
BIND_VMETHOD(MethodInfo(Variant::BOOL, "_idle", PropertyInfo(Variant::FLOAT, "delta")));
|
||||
|
|
|
@ -78,38 +78,6 @@
|
|||
If implemented, the method must return a boolean value. [code]true[/code] ends the main loop, while [code]false[/code] lets it proceed to the next frame.
|
||||
</description>
|
||||
</method>
|
||||
<method name="finish">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
Should not be called manually, override [method _finalize] instead. Will be removed in Godot 4.0.
|
||||
</description>
|
||||
</method>
|
||||
<method name="idle">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="delta" type="float">
|
||||
</argument>
|
||||
<description>
|
||||
Should not be called manually, override [method _idle] instead. Will be removed in Godot 4.0.
|
||||
</description>
|
||||
</method>
|
||||
<method name="init">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
Should not be called manually, override [method _initialize] instead. Will be removed in Godot 4.0.
|
||||
</description>
|
||||
</method>
|
||||
<method name="iteration">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="delta" type="float">
|
||||
</argument>
|
||||
<description>
|
||||
Should not be called manually, override [method _iteration] instead. Will be removed in Godot 4.0.
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<signals>
|
||||
<signal name="on_request_permissions_result">
|
||||
|
|
Loading…
Reference in a new issue