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