/** 次の手番へ進める trueが帰るとターンの切り替えを行った */ private boolean nextPhase() { if (this.turnState == STATE_PLAY_TURN1) { this.turnState = STATE_PLAY_TURN2; } else if (this.turnState == STATE_PLAY_TURN2) { this.turnState = STATE_PLAY_TURN3; } else if (this.turnState == STATE_PLAY_TURN3) { this.turnState = STATE_PLAY_TURN4; } else if (this.turnState == STATE_PLAY_TURN4) { // フェーズの初期化 this.turnState = STATE_PLAY_TURN1; // 戦後入れ替え if (firstTeamId == 1) firstTeamId = 0; else firstTeamId = 1; // ここで切り替え時の点数加算塔の処理 endTurn(); return true; } // ターンを切り替えてない return false; }