org.xistrat.bean
Class MoveBean

java.lang.Object
  extended by org.xistrat.bean.MoveBean

public class MoveBean
extends java.lang.Object

bulk data object to represent a single atomic move (what piece it is, and if it's killing another piece and so on, can be found out by using the corresponding position of all pieces. all that is not stored herein)

Since:
0.5.57

Field Summary
 java.lang.String name
           
 int source
           
 int target
           
 
Constructor Summary
MoveBean()
           
MoveBean(java.lang.String name, int a, int b)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name

source

public int source

target

public int target
Constructor Detail

MoveBean

public MoveBean()

MoveBean

public MoveBean(java.lang.String name,
                int a,
                int b)