Added == method to enemy as a member function