Selaa lähdekoodia

Merge pull request #9316 from Chaosus/add_super_keyword

Add a `super` keyword to the table of keywords
Yuri Rubinsky 1 vuosi sitten
vanhempi
commit
4d925dd274
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      tutorials/scripting/gdscript/gdscript_basics.rst

+ 2 - 0
tutorials/scripting/gdscript/gdscript_basics.rst

@@ -187,6 +187,8 @@ in case you want to take a look under the hood.
 +------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
 | self       | Refers to current class instance.                                                                                                                 |
 +------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
+| super      | Resolves the scope of the parent method. See `Inheritance`_.                                                                                      |
++------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
 | signal     | Defines a signal.                                                                                                                                 |
 +------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
 | func       | Defines a function.                                                                                                                               |