converted enemy object from constructor to literal