Пример #1
0
        public virtual void Start()
        {
            //assign a unique ID to the unit instance
            instanceID = GameControl.GetUnitInstanceID();

            //add to UnitTracker if this is a hostile unit
            if (hostileUnit)
            {
                UnitTracker.AddUnit(this);
            }

            TDS.NewUnit(this);
        }