Move.java :  » Game » cs544-checkers » egs » games » Java Open Source

Java Open Source » Game » cs544 checkers 
cs544 checkers » egs » games » Move.java
package egs.games;

import java.util.ArrayList;

public class Move 
{
  SquareState moveStart = null;
  SquareState moveEnd = null;
  ArrayList<SquareState> capturedPieces = new ArrayList<SquareState>();
  
  public Move()
  {  
  }
  
  public SquareState getMoveStart() {
    return moveStart;
  }
  public void setMoveStart(SquareState moveStart) {
    this.moveStart = moveStart;
  }
  public SquareState getMoveEnd() {
    return moveEnd;
  }
  public void setMoveEnd(SquareState moveEnd) {
    this.moveEnd = moveEnd;
  }
  public ArrayList<SquareState> getCapturedPieces() {
    return capturedPieces;
  }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.