示例#1
0
        public void CallBackMute(TimedEvent e)
        {
            Dictionary <string, object> dic = e.Args;

            e.Kill();
            Fougerite.Player pl = (Fougerite.Player)dic["player"];
            RemoveMute(pl);
        }
示例#2
0
        public TimedEvent TimerMute(int timeoutDelay, Dictionary <string, object> args)
        {
            TimedEvent timedEvent = new TimedEvent(timeoutDelay);

            timedEvent.Args    = args;
            timedEvent.OnFire += CallBackMute;
            return(timedEvent);
        }