mirror of
https://github.com/godotengine/godot.git
synced 2025-10-28 12:14:44 +00:00
19 lines
232 B
GDScript
19 lines
232 B
GDScript
class A extends CanvasItem:
|
|
func _init():
|
|
pass
|
|
|
|
class B extends A:
|
|
pass
|
|
|
|
class C extends CanvasItem:
|
|
pass
|
|
|
|
@abstract class X:
|
|
pass
|
|
|
|
class Y extends X:
|
|
func test() -> String:
|
|
return "ok"
|
|
|
|
func test():
|
|
print(Y.new().test())
|