finite state machine class explosion

I am using state machine with one class for state I have a ground cat and flying cat enemy they both have patrol ,attack , and run away. now I realised that I cant reuse their class and I have to write for each one and I cant use heirarchy because they dont have member viriables cause all they do is call public functions from the cat and flying cat controller. if I have to do this then I have to create the same states for different entities.

Link to Full Article: finite state machine class explosion

Pin It on Pinterest

Share This

Join Our Newsletter

Sign up to our mailing list to receive the latest news and updates about and the Informed.AI Network of AI related websites which includes Events.AI, Neurons.AI, Awards.AI, and Vocation.AI

You have Successfully Subscribed!