コード例 #1
0
 public void Move()
 {
     if (IsPlaced)
     {
         directionCalculator = DirectionFactory.GetDirectionCalculator(facingDirection);
         coordinates         = directionCalculator.GoForward(coordinates);
     }
 }