I'm not saying you should never use Inheritance, just be careful and use Composition where necessary.
I mean State Machine when I say "Behaviour Tree".
These are actually two different terms I didn't realise.
Composition, Message Bus, State Machine Patterns.
Consider this a code overview of my current project, It's a break down of the Behavior Tree in my game.
Tired of spaghetti code? Join me as I refactor my 2-year-old game project using State Machine, Message Bus & Composition! This video is your guide to cleaner, more maintainable code.
Editor - https://ytjobs.co/talent/profile/1219...
#gamedev #refactoring #codingpatterns