コード例 #1
0
 private static IRobotState SetNewY(IRobotStateBuilder robotStateBuilder, int newY)
 {
     return(robotStateBuilder.WithY(newY).Build());
 }
コード例 #2
0
 private static IRobotState SetNewX(IRobotStateBuilder robotStateBuilder, int newX)
 {
     return(robotStateBuilder.WithX(newX).Build());
 }