예제 #1
0
            public DelayItem(string typ, string evnt, int delay)
            {
                Type = typ;
                Event = evnt;
                Delay = delay;

                if (Event == "play") PlayState = UserStateManager.PlayStates.PLAY;
                else if (Event == "pause") PlayState = UserStateManager.PlayStates.PAUSE;
                else if (Event == "stop") PlayState = UserStateManager.PlayStates.STOP;
            }
예제 #2
0
            public DelayItem(string typ, string evnt, int delay)
            {
                Type  = typ;
                Event = evnt;
                Delay = delay;

                if (Event == "play")
                {
                    PlayState = UserStateManager.PlayStates.PLAY;
                }
                else if (Event == "pause")
                {
                    PlayState = UserStateManager.PlayStates.PAUSE;
                }
                else if (Event == "stop")
                {
                    PlayState = UserStateManager.PlayStates.STOP;
                }
            }