Changeset 12160 for code/branches/wagnis_HS18/src/modules/wagnis/Wagnis.cc
- 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/Wagnis.cc
r12150 r12160 64 64 **/ 65 65 void Wagnis::playerFinishedStageCallback(WagnisPlayer* player){ 66 67 player->resetProvinceSelection(); 66 68 67 69 if(this->active_player != player->Player_ID){ … … 132 134 player->gameStage = ATTACK_STAGE; 133 135 this->gameStage = ATTACK_STAGE; 136 player->reinforcements = provincesOfPlayerCounter(player->Player_ID); 134 137 orxout()<<"Player "<<player->Player_ID<<"\'s turn. Attack."<<endl; 135 138 break; … … 170 173 } 171 174 172 //this->gameBoard->initializeNeighbors(); 173 174 //for(WagnisPlayer* p: this->players){ 175 //this->playerEntered(p); 176 //} 175 this->gameBoard->initializeNeighbors(); 177 176 178 177 orxout() << "Game creation finished" << endl; … … 198 197 } 199 198 }else{ 200 orxout()<<"Nullpointer found in provin es!!!"<<endl;199 orxout()<<"Nullpointer found in provinces!!!"<<endl; 201 200 } 202 201 } … … 212 211 } 213 212 }else{ 214 orxout()<<"Nullpointer found in provin es!!!"<<endl;213 orxout()<<"Nullpointer found in provinces!!!"<<endl; 215 214 } 216 215 }
Note: See TracChangeset
for help on using the changeset viewer.