AdsGames / JimFarm

A massive procedurally generated world in which you can set up a farm and collect resources.
http://adsgames.net/games/jimfarm
1 stars 0 forks source link

refactor: use weak pointer with gfx instance #24

Closed alegemaate closed 1 year ago

alegemaate commented 1 year ago

Description

Remove shared pointers from graphics instance as they are mere observers of other sprites. Instead, call a cleanup routine that will prune dead sprites.

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication