Пример #1
0
        /// <summary>
        /// Create the smallest platoon allowed.
        /// </summary>
        private void StartNewPlatoon()
        {
            _smallestPlatoonSize = MIN_PLATOON_SIZE;
            _newestPlatoon       = GhostPlatoonBehaviour.CreatePreviewMode(Unit, Owner, MIN_PLATOON_SIZE);

            PreviewPlatoons.Add(_newestPlatoon);
        }
Пример #2
0
        /// <summary>
        /// Create the smallest platoon allowed.
        /// </summary>
        private void StartNewPlatoon()
        {
            _smallestPlatoonSize = MIN_PLATOON_SIZE;
            _newestPlatoon       = PlatoonBehaviour.CreateGhostMode(Unit, Owner);
            for (int i = 0; i < MIN_PLATOON_SIZE; i++)
            {
                _newestPlatoon.AddSingleUnit();
            }

            PreviewPlatoons.Add(_newestPlatoon);
        }