| @@ -17,10 +17,10 @@ | ||
| 17 | 17 | MoveDirection[][] promotedMoveDirections; |
| 18 | 18 | public DirectionsGenerator() |
| 19 | 19 | { |
| 20 | - MoveDirection upper = new MoveDirection(0, -1, false);//前 | |
| 21 | - MoveDirection upperLeft = new MoveDirection(1,-1,false); | |
| 22 | - MoveDirection upperRight = new MoveDirection(-1,-1,true); | |
| 23 | - MoveDirection down = new MoveDirection(0,1,false); | |
| 20 | + MoveDirection upper = new MoveDirection(0, -1, false);//前進 | |
| 21 | + MoveDirection upperLeft = new MoveDirection(1,-1,false);//左上 | |
| 22 | + MoveDirection upperRight = new MoveDirection(-1,-1,true);//右上 | |
| 23 | + MoveDirection down = new MoveDirection(0,1,false);//下がる | |
| 24 | 24 | MoveDirection downLeft = new MoveDirection(1,1,false); |
| 25 | 25 | MoveDirection downRight = new MoveDirection(-1,1, false); |
| 26 | 26 | MoveDirection right = new MoveDirection(-1,0, false); |
| @@ -33,8 +33,8 @@ | ||
| 33 | 33 | MoveDirection straightDownRight = new MoveDirection(-1, 1, false); |
| 34 | 34 | MoveDirection straightRight = new MoveDirection(-1, 0, false); |
| 35 | 35 | MoveDirection straightLeft = new MoveDirection(1, 0, false); |
| 36 | - MoveDirection upper2Left = new MoveDirection(1, -2, false); | |
| 37 | - MoveDirection upper2Right = new MoveDirection(-1, -2, true); | |
| 36 | + MoveDirection upper2Left = new MoveDirection(1, -2, false);//桂馬飛び | |
| 37 | + MoveDirection upper2Right = new MoveDirection(-1, -2, true);//桂馬飛び | |
| 38 | 38 | normalMoveDirections = new MoveDirection[Piece.CountOfType()][]; |
| 39 | 39 | |
| 40 | 40 | //歩の移動方向 |