Example #1
0
        /// <summary>
        ///     Process the tech and it's abilties.
        /// </summary>
        /// <param name="t"></param>
        private void ProcessTech(Tech t)
        {
            if (t == null)
            {
                return;
            }

            t.Process();

            if (t.Abilities == null)
            {
                return;
            }

            foreach (var a in t.Abilities)
            {
                a.Update();
            }
        }