org/homelinux/largo/games/board/History.java
changeset 0 e0dbaef72362
child 13 f83884cc7d2f
equal deleted inserted replaced
-1:000000000000 0:e0dbaef72362
       
     1 /**
       
     2  *  $Id: History.java 150 2008-04-26 01:18:25Z mbroeker $
       
     3  * $URL: http://localhost/svn/eclipse/Schachspiel/trunk/org/homelinux/largo/games/board/History.java $
       
     4  */
       
     5 
       
     6 package org.homelinux.largo.games.board;
       
     7 
       
     8 import org.homelinux.largo.games.board.Piece;
       
     9 
       
    10 public class History {
       
    11 	Piece piece;
       
    12 	int pos;
       
    13 	boolean turn;
       
    14 
       
    15 	public History(Piece p, int n, boolean t) {
       
    16 		piece = new Piece(p);
       
    17 		pos = n;
       
    18 		turn = t;
       
    19 	}
       
    20 
       
    21 	public Piece piece() {
       
    22 		return piece;
       
    23 	}
       
    24 
       
    25 	public int pos() {
       
    26 		return pos;
       
    27 	}
       
    28 
       
    29 	public boolean turn() {
       
    30 		return turn;
       
    31 	}
       
    32 }