Exemple #1
0
        public void SetNormalOrValidColorToAllTiles(GameState gameState, BoardInfo boardInfo)
        {
            // 全てのタイルカラーをNormalにする
            SetNormalColorToAllTiles(boardInfo);

            // 有効なタイルカラーを変更する
            BoardValues turnPlayerBoardValue = getPlayerConstValues.GetTurnPlayerBoardValue(gameState);
            List<BoardPoint> validPointList = boardInfo.GetValidPointList(turnPlayerBoardValue);

            foreach (BoardPoint point in validPointList)
            {
                SetValidColorToTile(point.col, point.row);
            }
        }