Added private setLocation() for an Enemy object to minimize code.