Hey all. I know this is not _specifically_ about Pmvc, but i will be using the new StateMachine util soon, and this question relates to that...
I'm using Finite State Machines (fsm) in one of my games right now. I'm running into a problem where i don't know where/who should be responsible for triggering a state change. Should the state class itself monitor everything and determine if a state change is required, or should the "state owner" take care of that stuff?
I've got some "actors" moving around on stage, and their movement is controlled via states - walk, rest, moveTo, etc etc.
Since i'm going to be using the StateMachine Util that comes with PMVC soon, i'm going to want to know the answer in relation to that tool too...
Any suggestions would be most appreciated.