Sync classref with current source

This commit is contained in:
Rémi Verschelde
2019-08-22 14:51:48 +02:00
parent f0242074f0
commit 156adc98f4
45 changed files with 991 additions and 109 deletions

View File

@@ -127,7 +127,7 @@ Specific to the macOS platform.
Description
-----------
``MainLoop`` is the abstract base class for a Godot project's game loop. It in inherited by :ref:`SceneTree<class_SceneTree>`, which is the default game loop implementation used in Godot projects, though it is also possible to write and use one's own ``MainLoop`` subclass instead of the scene tree.
``MainLoop`` is the abstract base class for a Godot project's game loop. It is inherited by :ref:`SceneTree<class_SceneTree>`, which is the default game loop implementation used in Godot projects, though it is also possible to write and use one's own ``MainLoop`` subclass instead of the scene tree.
Upon the application start, a ``MainLoop`` implementation must be provided to the OS; otherwise, the application will exit. This happens automatically (and a :ref:`SceneTree<class_SceneTree>` is created) unless a main :ref:`Script<class_Script>` is provided from the command line (with e.g. ``godot -s my_loop.gd``, which should then be a ``MainLoop`` implementation.