solved the sheep move towards hero problem
reconstruct the objects class