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