Ejemplo n.º 1
0
        public void CallBackMute(TimedEvent e)
        {
            Dictionary <string, object> dic = e.Args;

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

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