All Downloads are FREE. Search and download functionalities are using the official Maven repository.

chesspresso.position.MutablePosition Maven / Gradle / Ivy

/*
 * Chessplorer-Lib - an open source chess library written in Java
 * Copyright (C) 2016 Chessplorer.org
 * Copyright (C) 2012-2016 Gerhard Kalab
 * Copyright (C) 2002-2003 Bernhard Seybold
 *
 * This software is published under the terms of the LGPL Software License,
 * a copy of which has been included with this distribution in the LICENSE.txt
 * file.
 *
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
 */
package chesspresso.position;

/**
 *
 * @author Bernhard Seybold
 * @author Andreas Rudolph
 */
public interface MutablePosition extends ImmutablePosition
{
    public void clear();
    public void set(ImmutablePosition position);
    public void setStart();

    public void setStone(int sqi, int stone);
    public void setCastles(int castles);
    public void setSqiEP(int sqiEP);
    public void setToPlay(int toPlay);
    public void setPlyNumber(int plyNumber);
    public void setHalfMoveClock(int halfMoveClock);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy