From my point of view, it’s better to have two different objects of the same structure, containing a moving object, its path and update() function.
From my point of view, it’s better to have two different objects of the same structure, containing a moving object, its path and update() function.