Пример #1
0
        public void Deactivate()
        {
            Move mover;

            for (int i = 0; i < movers.Count; i++)
            {
                mover = movers [i];
                mover.MyMovementGroup   = null;
                mover.MyMovementGroupID = -1;
            }
            movers.FastClear();
            MovementGroupHandler.Pool(this);
            calculatedBehaviors = false;
            indexID             = -1;
        }
Пример #2
0
 protected override void OnExecute(Lockstep.Command com)
 {
     MovementGroupHandler.Execute(com);
 }