Alright, since I just finished watching this episode, I really liked the homework! I've read something like this with state machines, but it used pointers and handlers to switch around the state. That aside, what it reminded me was to create state transition tables which you could do to help enhance the flow of your template. Really awesome to see a completely different way to handle some stateful actions with game AI.
Thank you saved me a lot of time trying to browse videos for an actual working one
Alright, since I just finished watching this episode, I really liked the homework! I've read something like this with state machines, but it used pointers and handlers to switch around the state. That aside, what it reminded me was to create state transition tables which you could do to help enhance the flow of your template. Really awesome to see a completely different way to handle some stateful actions with game AI.
Glad you enjoyed it!