added moving of mobile objects as applied to npcs and player