mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
@@ -988,10 +988,11 @@ There are a few things to keep in mind here:
|
||||
to the ``State.gd`` base class even if it does nothing. Which brings us to the fact that you
|
||||
can pass literals in the base constructor as well, not just variables. Eg.:
|
||||
|
||||
::
|
||||
# Idle.gd
|
||||
::
|
||||
|
||||
func _init().(5):
|
||||
# Idle.gd
|
||||
|
||||
func _init().(5):
|
||||
pass
|
||||
|
||||
Inner classes
|
||||
|
||||
Reference in New Issue
Block a user