add extra flyweight example method

This commit is contained in:
Daniel
2024-11-11 02:13:43 +02:00
parent f7ccf4c1fb
commit 99f49f365d

View File

@@ -111,8 +111,10 @@
> }
> // ... other code
>
>
>
> public void render() {
> Sprite spriteToRender = flyweight.getSprite();
> // ... other code ...
> }
> }
> ```
>