Ejemplo n.º 1
0
        /*
         * 블럭의 상태를 MATCH 로 설정한다.
         * @param bAccumulate 기존값에 더해진 값으로 누적되는 경우 true
         */
        public void UpdateBlockStatusMatched(MatchType matchType, bool bAccumulate = true)
        {
            this.status = BlockStatus.MATCH;

            if (match == MatchType.NONE)
            {
                this.match = matchType;
            }
            else
            {
                this.match = bAccumulate ? match.Add(matchType) : matchType; //match + matchType
            }

            matchCount = (short)matchType;
        }