public void SetAssist(Player assistor, Player assistee) { //Scheduler.Instance.AddTimer( m_fAssistTime, false, OnAssistTimeUp ); if (timer == null) { timer = new GameUtils.Timer(m_fAssistTime, OnAssistTimeUp); } else { timer.Reset(); } m_assistor = assistor; m_assistee = assistee; }
override public void OnExit() { m_timer.Reset(); m_timer.stop = true; }