Example #1
0
        internal void DoRotateJerk(Queue <IMoveAction> actions)
        {
            actions.ActionSelectSquad(Id);

            IsCwDirection = !IsCwDirection;
            var angleDelta  = Math.PI / 4;
            var angleChange = IsCwDirection ? angleDelta : -angleDelta;

            actions.ActionRotateSelection(SquadCenter, angleChange);
        }