Ejemplo n.º 1
0
        //
        //	copied the source file by https://github.com/stackprobe/Factory/blob/master/SubTools/CopyLib.c
        //
        public static void Play(DDSE se)
        {
            int count = 0;

            foreach (PlayInfo info in PlayInfos)
            {
                if (info.SE == se && 2 <= ++count)
                {
                    return;
                }
            }

            PlayInfos.Enqueue(new PlayInfo(se));
            PlayInfos.Enqueue(null);
        }
Ejemplo n.º 2
0
 //
 //	copied the source file by https://github.com/stackprobe/Factory/blob/master/SubTools/CopyLib.c
 //
 public static void Add(DDSE se)
 {
     SEList.Add(se);
 }
Ejemplo n.º 3
0
 public PlayInfo(DDSE se, AlterCommand_e alterCommand = AlterCommand_e.NORMAL)
 {
     this.SE           = se;
     this.AlterCommand = alterCommand;
 }
Ejemplo n.º 4
0
 //
 //	copied the source file by https://github.com/stackprobe/Factory/blob/master/SubTools/CopyLib.c
 //
 public static void PlayLoop(DDSE se)
 {
     PlayInfos.Enqueue(new PlayInfo(se, PlayInfo.AlterCommand_e.LOOP));
     PlayInfos.Enqueue(null);
 }