--------------------------------------------- IS DEFEATED ------------------------------------------------
| 116 | } |
| 117 | //--------------------------------------------- IS DEFEATED ------------------------------------------------ |
| 118 | bool PlayerImpl::isDefeated() const |
| 119 | { |
| 120 | if ( index >= 8 ) |
| 121 | return false; |
| 122 | return BW::BWDATA::PlayerVictory[index] == 1 || |
| 123 | BW::BWDATA::PlayerVictory[index] == 2 || |
| 124 | BW::BWDATA::PlayerVictory[index] == 4 || |
| 125 | BW::BWDATA::PlayerVictory[index] == 6; |
| 126 | } |
| 127 | //--------------------------------------------- UPDATE ----------------------------------------------------- |
| 128 | void PlayerImpl::updateData() |
| 129 | { |
no outgoing calls