jchrest.lib
Class Move
java.lang.Object
jchrest.lib.Move
public class Move
- extends java.lang.Object
Hold the move of a piece to a position on a scene.
Constructor Summary |
Move(java.lang.String piece,
int row,
int column)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Move
public Move(java.lang.String piece,
int row,
int column)
asListPattern
public ListPattern asListPattern()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getPiece
public java.lang.String getPiece()
getRow
public int getRow()
getColumn
public int getColumn()