Searched refs:m_turn (Results 1 – 8 of 8) sorted by relevance
38 Player m_turn; variable45 inline BattleField* currentField() const { return m_fields[m_turn]; } in currentField()46 inline BattleField* otherField() const { return m_fields[opponent(m_turn)]; } in otherField()75 inline Player turn() const { return m_turn; } in turn()
13 , m_turn(PLAYER_A) in Sea()84 if (m_status != PLAYING || m_turn != p) { in canHit()110 m_status = m_turn == PLAYER_A ? A_WINS : B_WINS; in checkGameOver()141 m_turn = opponent(m_turn); in switchTurn()
49 int m_turn; variable83 int turn() const { return m_turn; } in turn()105 m_turn = LEFT; in turnLeft()111 m_turn = RIGHT; in turnRight()
24 , m_turn(UNKNOWN) { in RasterEdgeIterator()117 m_turn = STRAIGHT; in turn()131 m_turn = STRAIGHT; in turn()219 m_turn |= AMBIGUOUS; in turnAmbiguous()
23 int GetTurn() const { return m_turn; } in GetTurn()29 int m_turn;77 & BOOST_SERIALIZATION_NVP(m_turn) in serialize()
17 m_turn(INVALID_GAME_TURN), in SitRepEntry()25 m_turn(turn), in SitRepEntry()53 retval += " turn = " + std::to_string(m_turn); in Dump()
67 turn_t m_turn; variable142 self.process_element(m_turn); in process_data()200 m_turn = u;
104 return m_turn; in turn()