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