예제 #1
0
 private void ShiftHorizontal(int v)
 {
     if (_gridManager.CheckHorizontalCollision(_gridCoordinate, _blockInitializer.CurrentShape, v))
     {
         return;
     }
     SoundManager.PlaybackSound(SoundType.ShapeMove);
     _gridCoordinate.x += v;
     UpdatePosition();
 }