NTUT-FUCK-PTSD / Fuck-PTSD

This is a repo about rewriting the game `crypt of the necrodancer` in OOP Lab
MIT License
3 stars 2 forks source link

Refactor Animation to improve code organization and reduce coupling #97

Closed HeavenManySugar closed 6 months ago

HeavenManySugar commented 6 months ago

This pull request refactors the enemy classes in the codebase to remove the inheritance of the Animation class. Instead, each enemy class now contains a unique_ptr to an Animation object. This change improves code organization and reduces coupling between the enemy classes and the Animation class.