I am always feeling that I should process the movement within the movers (pathfinders) themselves.
But I have a small decision to make,
there should be some compromise by now.
Consideration 1: (one interface preferred)
When 2 different movers, such as astar and the hierarchical astar both produce waypoints of same kind, it should be more convenient to give a consistent interface for both
HPA is not part of AStar, maybe I can do it
Consideration 2: (movers responsible for moving the objects)
It provides a cleaner organization, and I can easily start and stop one mover and switch to another at my own will
↧