resolved issue with enemy not having y values in horizontal movemenet method