Logo Search packages:      
Sourcecode: schafkopf version File versions  Download package

int * CardList::toIntList (  ) 

creates a zero terminated list of integers, every int has the id of one card assigned.

Definition at line 171 of file cardlist.cpp.

    int* list = new int[count()+1];
    int i;
        list[i] = at(i)->id();
    list[i] = 0;
    return list;

Generated by  Doxygen 1.6.0   Back to index