Пример #1
0
        public virtual void In(int ms, Act Action, Until Until)
        {
            ActInfo ai = new ActInfo
            {
                Action = Action,
                When   = Environment.TickCount + ms,
                Until  = Until
            };

            Acts.Add(ai);
        }
Пример #2
0
        public virtual void In(Act Action, Until Until)
        {
            ActInfo ai = new ActInfo
            {
                Action = Action,
                Until  = Until,
                NoTime = true
            };

            Acts.Add(ai);
        }
Пример #3
0
        public virtual void In(int ms, Act Action, bool once = true, int forms = 0)
        {
            ActInfo ai = new ActInfo
            {
                Action = Action,
                When   = Environment.TickCount + ms,
                For    = forms,
                Once   = once
            };

            Acts.Add(ai);
        }