pollen-not-included/addons/gdUnit4/test/mocker/resources/DeepStubTestClass.gd
2024-05-02 09:36:31 +01:00

16 lines
271 B
GDScript

class_name DeepStubTestClass
class XShape:
var _shape : Shape3D = BoxShape3D.new()
func get_shape() -> Shape3D:
return _shape
var _shape :XShape
func add(shape :XShape):
_shape = shape
func validate() -> bool:
return _shape.get_shape().get_margin() == 0.0