- Timestamp:
- Dec 5, 2018, 7:51:11 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/wagnis_HS18/src/modules/wagnis/WagnisGameboard.cc
r12132 r12160 64 64 orxout() << "String size:" << endl; 65 65 orxout() << str.size() << endl; 66 orxout() << str<<endl; 66 67 unsigned int n = 0; 67 68 while(n < str.size()){ … … 85 86 if(other->getID() == other_ID){ 86 87 orig->addNeighbor(other); 87 orxout() << "Added neighbor province "<< other_ID << " to province " << origin_ID << endl;88 //orxout() << "Added neighbor province "<< other_ID << " to province " << origin_ID << endl; 88 89 break; 89 90 } 90 91 } 91 92 } 92 break;93 93 } 94 94 }while((n < str.size()) && (str[n] == '+')); 95 95 96 if(n == str.size()) return; 96 97 while((n < str.size()) && (str[n] == ' ')) n++; … … 102 103 n++; 103 104 while(n < str.size() && str[n] == ' ') n++; 105 orxout()<<"One province finished"<<endl; 104 106 } 105 107 }
Note: See TracChangeset
for help on using the changeset viewer.