Esempio n. 1
0
    static public int GetMaxMark(SongTime[] sts)
    {
        int mark = 0;
        int c    = 0;

        for (int i = 0; i < sts.Length; i++)
        {
            if (sts[i] is LongSongTime)
            {
                if (c > 1)
                {
                    mark += SongPlayer.GetMark(c, Global.TIMING_JUAGE_TYPE.PREFECT);
                }
                c++;
            }

            if (c > 1)
            {
                mark += SongPlayer.GetMark(c, Global.TIMING_JUAGE_TYPE.PREFECT);
            }

            c++;
        }
        return(mark);
    }