Summary
This chapter took a deeper dive into some of the more advanced topics of programming with GDScript. We expanded our knowledge of object-oriented programming with the super
and static
keywords and the difference between passing by value or reference. Then, we saw more features of the GDScript programming language, such as enums and lambda functions. We concluded the chapter with a way to run code within the Godot editor itself, using the @
tool
annotation.