run() -> postRiverRun() in localberopostriver.cpp
This commit is contained in:
@@ -42,6 +42,8 @@ public:
|
|||||||
virtual void nextPlayer() =0;
|
virtual void nextPlayer() =0;
|
||||||
virtual void run() =0;
|
virtual void run() =0;
|
||||||
|
|
||||||
|
virtual void postRiverRun() =0;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -36,6 +36,8 @@ public:
|
|||||||
void nextPlayer();
|
void nextPlayer();
|
||||||
void run();
|
void run();
|
||||||
|
|
||||||
|
void postRiverRun() {};
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
HandInterface* getMyHand() const { return myHand; }
|
HandInterface* getMyHand() const { return myHand; }
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ LocalBeRoPostRiver::~LocalBeRoPostRiver()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void LocalBeRoPostRiver::run() {
|
void LocalBeRoPostRiver::postRiverRun() {
|
||||||
|
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ public:
|
|||||||
void setHighestCardsValue(int theValue) { highestCardsValue = theValue;}
|
void setHighestCardsValue(int theValue) { highestCardsValue = theValue;}
|
||||||
int getHighestCardsValue() const { return highestCardsValue;}
|
int getHighestCardsValue() const { return highestCardsValue;}
|
||||||
|
|
||||||
void run();
|
void postRiverRun();
|
||||||
void distributePot();
|
void distributePot();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|||||||
@@ -138,3 +138,8 @@ ClientBeRo::run()
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
ClientBeRo::postRiverRun()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -53,6 +53,8 @@ public:
|
|||||||
void nextPlayer();
|
void nextPlayer();
|
||||||
void run();
|
void run();
|
||||||
|
|
||||||
|
void postRiverRun();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
const GameState myBeRoID;
|
const GameState myBeRoID;
|
||||||
|
|||||||
@@ -1894,7 +1894,7 @@ void mainWindowImpl::riverAnimation2() { riverAnimation2Timer->start(nextPlayerS
|
|||||||
void mainWindowImpl::riverAnimation2Action() { mySession->getCurrentGame()->getCurrentHand()->getCurrentBeRo()->nextPlayer(); }
|
void mainWindowImpl::riverAnimation2Action() { mySession->getCurrentGame()->getCurrentHand()->getCurrentBeRo()->nextPlayer(); }
|
||||||
|
|
||||||
void mainWindowImpl::postRiverAnimation1() { postRiverAnimation1Timer->start(nextPlayerSpeed2); }
|
void mainWindowImpl::postRiverAnimation1() { postRiverAnimation1Timer->start(nextPlayerSpeed2); }
|
||||||
void mainWindowImpl::postRiverAnimation1Action() { mySession->getCurrentGame()->getCurrentHand()->getCurrentBeRo()->run(); }
|
void mainWindowImpl::postRiverAnimation1Action() { mySession->getCurrentGame()->getCurrentHand()->getCurrentBeRo()->postRiverRun(); }
|
||||||
|
|
||||||
void mainWindowImpl::postRiverRunAnimation1() { postRiverRunAnimation1Timer->start(postRiverRunAnimationSpeed); }
|
void mainWindowImpl::postRiverRunAnimation1() { postRiverRunAnimation1Timer->start(postRiverRunAnimationSpeed); }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user