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