The example shows calls to `update()` in the setters and in the constructor. The D method for binding this looks like `void sfShape_update(sfShape* shape);`.

Ur a legend bro...

It fixed it...

Calling this in the `Rectangle` constructor:

```D
class RectangleShape : Shape {
    this(Vector2f size) {
        _size = size;
        setSize(_size);

        ptr.sfShape_update();
    }
```

It is my fault on this one.

Thank u sir.

Reply via email to