//------------------------------------------------------------------------- void CardMovePlayerToPosition::action( PlayerManager &i_players ) { i_players.setPosition(m_newPosition); std::cout<< "Move " << i_players.getName() << " to " << i_players.getPosition() << " position." << std::endl; }
//------------------------------------------------------------------------- void Board::action(PlayerManager &i_players) { int currentTile = i_players.getPosition(); std::cout<<"Calling Action\n"; m_tiles[currentTile]->action(i_players); }
//------------------------------------------------------------------------- void Board::action(PlayerManager &i_players) { int currentTile = i_players.getPosition(); m_tiles[currentTile]->action(i_players); }