org/homelinux/largo/games/board/History.java
author Markus Bröker <mbroeker@largo.homelinux.org>
Fri, 17 Dec 2010 22:33:17 +0100
changeset 14 f12f77aa13b2
parent 13 f83884cc7d2f
child 16 55b0d5006e7b
permissions -rw-r--r--
serialVersionUID starts with 1L...

/**
 *  $Id: History.java 150 2008-04-26 01:18:25Z mbroeker $
 * $URL: http://localhost/svn/eclipse/Schachspiel/trunk/org/homelinux/largo/games/board/History.java $
 */

package org.homelinux.largo.games.board;

public class History {
    Piece piece;
    int pos;
    boolean turn;

    public History(Piece p, int n, boolean t) {
        piece = new Piece(p);
        pos = n;
        turn = t;
    }

    public Piece piece() {
        return piece;
    }

    public int pos() {
        return pos;
    }

    public boolean turn() {
        return turn;
    }
}