示例#1
0
        internal void AddBendPoint(BendPoint point)
        {
            BendPoints.Add(point);
            if (MaxBendPoint == null || point.Value > MaxBendPoint.Value)
            {
                MaxBendPoint = point;
            }

            if (BendType == BendType.None)
            {
                BendType = BendType.Custom;
            }
        }
示例#2
0
        internal void AddWhammyBarPoint(BendPoint point)
        {
            WhammyBarPoints.Add(point);
            if (MaxWhammyPoint == null || point.Value > MaxWhammyPoint.Value)
            {
                MaxWhammyPoint = point;
            }

            if (MinWhammyPoint == null || point.Value < MinWhammyPoint.Value)
            {
                MinWhammyPoint = point;
            }

            if (WhammyBarType == WhammyType.None)
            {
                WhammyBarType = WhammyType.Custom;
            }
        }