I am creating an RTS game and I am currently finishing my first Version that combines Camera, Movement, Selection etc… and I want to make it multiplayer ready from the start.
While creating the character movement I did all of the calculations Pathfinding, Steering etc in the character class but with multiplayer in my mind should I move all this calculations to the controller?
For example my Character contains some variables
velocity, maxVelocity, health, etc…
and my own Movement code that updates the velocity and sets the actor to a new location
MoveUnitTo();
should I move all this variables and calculations to the AIController or leave them in the character class.