示例#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);
 }