org/homelinux/largo/games/board/History.java
author Markus Bröker <mbroeker@largo.homelinux.org>
Sun, 08 Feb 2009 07:47:39 +0100
changeset 5 42da09368d71
parent 0 e0dbaef72362
child 13 f83884cc7d2f
permissions -rw-r--r--
Platform Independend Newlines Java uses %n for platform independend newlines \r\n on windows, \n on linux and so on...

/**
 *  $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;

import org.homelinux.largo.games.board.Piece;

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;
	}
}