]>
Commit | Line | Data |
---|---|---|
1 | package org.proofofconcept.shisensho; | |
2 | ||
3 | public class Move { | |
4 | public Move(Point a, Point b, char piece) { | |
5 | this.a=a; | |
6 | this.b=b; | |
7 | this.piece=piece; | |
8 | } | |
9 | ||
10 | public String toString() { | |
11 | return a+"-"+b+"("+Board.pieceToString(piece)+")"; | |
12 | } | |
13 | ||
14 | public Point a; | |
15 | public Point b; | |
16 | public char piece; | |
17 | } |