Improve some method bindings to use specific Object subtypes
This was made possible by changes to `VariantCaster` which now make it possible to pass any `Object`-derived type as pointer.
This commit is contained in:
@ -14,9 +14,9 @@
|
||||
<methods>
|
||||
<method name="add_exception">
|
||||
<return type="void" />
|
||||
<argument index="0" name="node" type="Object" />
|
||||
<argument index="0" name="node" type="CollisionObject2D" />
|
||||
<description>
|
||||
Adds a collision exception so the shape does not report collisions with the specified node.
|
||||
Adds a collision exception so the shape does not report collisions with the specified [CollisionObject2D] node.
|
||||
</description>
|
||||
</method>
|
||||
<method name="add_exception_rid">
|
||||
@ -101,9 +101,9 @@
|
||||
</method>
|
||||
<method name="remove_exception">
|
||||
<return type="void" />
|
||||
<argument index="0" name="node" type="Object" />
|
||||
<argument index="0" name="node" type="CollisionObject2D" />
|
||||
<description>
|
||||
Removes a collision exception so the shape does report collisions with the specified node.
|
||||
Removes a collision exception so the shape does report collisions with the specified [CollisionObject2D] node.
|
||||
</description>
|
||||
</method>
|
||||
<method name="remove_exception_rid">
|
||||
|
||||
Reference in New Issue
Block a user