public Rotation GetRotation() { return(_gridTransform.GetRotation()); }
private void Rotate(bool clockwise) { _targetTransform.SetRotation((Rotation)(((int)_targetTransform.GetRotation() + (clockwise ? 1 : -1) + 4) % 4)); RefreshValidity(); }