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; }
protected override void OnExecute(Lockstep.Command com) { MovementGroupHandler.Execute(com); }