예제 #1
0
파일: FSCPlayer.cs 프로젝트: Daribon/FreeSO
        public FSCPlayer(FSC fsc, string basedir)
        {
            this.fsc = fsc;
            this.BaseDir = basedir;
            SoundCache = new Dictionary<string, SoundEffect>();
            SoundEffects = new List<SoundEffectInstance>();

            BeatLength = 60.0f / fsc.Tempo;
        }
예제 #2
0
파일: HITVM.cs 프로젝트: Daribon/FreeSO
        public FSCPlayer PlayFSC(string path)
        {
            var dir = Path.GetDirectoryName(path)+"/";
            FSC fsc = new FSC(path);
            var player = new FSCPlayer(fsc, dir);
            FSCPlayers.Add(player);

            return player;
        }