godot-kotlin-jvm icon indicating copy to clipboard operation
godot-kotlin-jvm copied to clipboard

Make required virtual methods abstract

Open CedNaru opened this issue 7 months ago • 0 comments

So far we have ignored the "isRequired" field for methods. This property is always used alongside virtual methods and indicate that if you inherit its class with a script, it's mandatory to override this virtual methods (while others are just optional). In such case, I made the method (and the class) abstract instead of giving it a dummy implementation.

A side effect is that several classes in the Godot API inherit those now "abstract" classes, so I had to create dummy implementation for those abstract methods.

image

CedNaru avatar May 03 '25 01:05 CedNaru