예제 #1
0
파일: Machine.cs 프로젝트: mahibak/idlorio
 public void SetRotation(Rotation rot)
 {
     _gridTransform.SetRotation(rot);
 }
예제 #2
0
 private void Rotate(bool clockwise)
 {
     _targetTransform.SetRotation((Rotation)(((int)_targetTransform.GetRotation() + (clockwise ? 1 : -1) + 4) % 4));
     RefreshValidity();
 }