Revamp of the movement for entities, characters and tiles to implement A*