BenEklundCS / The-Land-of-Boars

A platformer game in C++ and Raylib!
1 stars 0 forks source link

Effects are not properly removed #6

Closed BenEklundCS closed 3 months ago

BenEklundCS commented 3 months ago

Effects (ParticleCone) are meant to be temporary objects that are removed from the scene, but are not currently removed yet

This is pretty easy to add, but raises the question of refactoring the deletion of other objects to an internal state on the object (rather than the GameStateManager handling deletion of boars for example)

Will need to refactor this and fix the effect bug

BenEklundCS commented 3 months ago

Resolved.

https://github.com/BenEklundCS/The-Land-of-Boars/commit/a1725fa7c8105dd9658a7e46ded819a877481bbc