summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-05-17 17:19:12 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-05-17 17:19:12 -0300
commit12bd89a39cbd000b6e78ecf3d45838580926ff8a (patch)
tree0b2ebac7bebca294e8556f30e09caa1c79fb8fad /scene
parentb6b346e8aeaa4b31f4a89b0711e48a08fa802cf5 (diff)
small description improvement
Diffstat (limited to 'scene')
-rw-r--r--scene/main/scene_main_loop.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/main/scene_main_loop.cpp b/scene/main/scene_main_loop.cpp
index 4113fd1998..584b40337f 100644
--- a/scene/main/scene_main_loop.cpp
+++ b/scene/main/scene_main_loop.cpp
@@ -1094,11 +1094,11 @@ void SceneTree::_bind_methods() {
ObjectTypeDB::bind_native_method(METHOD_FLAGS_DEFAULT,"call_group",&SceneTree::_call_group,mi,defargs);
- ObjectTypeDB::bind_method(_MD("set_current_scene","child_node"),&SceneTree::set_current_scene);
- ObjectTypeDB::bind_method(_MD("get_current_scene"),&SceneTree::get_current_scene);
+ ObjectTypeDB::bind_method(_MD("set_current_scene","child_node:Node"),&SceneTree::set_current_scene);
+ ObjectTypeDB::bind_method(_MD("get_current_scene:Node"),&SceneTree::get_current_scene);
ObjectTypeDB::bind_method(_MD("change_scene","path"),&SceneTree::change_scene);
- ObjectTypeDB::bind_method(_MD("change_scene_to","packed_scene"),&SceneTree::change_scene_to);
+ ObjectTypeDB::bind_method(_MD("change_scene_to","packed_scene:PackedScene"),&SceneTree::change_scene_to);
ObjectTypeDB::bind_method(_MD("reload_current_scene"),&SceneTree::reload_current_scene);