jchrest.lib
Class Move

java.lang.Object
  extended by 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)
           
 
Method Summary
 ListPattern asListPattern()
           
 int getColumn()
           
 java.lang.String getPiece()
           
 int getRow()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Move

public Move(java.lang.String piece,
            int row,
            int column)
Method Detail

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()