This repository has been archived on 2025-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
JRummikub/src/jrummikub/model/StoneSet.java

36 lines
702 B
Java
Raw Normal View History

package jrummikub.model;
import jrummikub.util.Pair;
/** Class managing {@link Stone}s joined together to form sets */
public class StoneSet {
private List<Stone> stones;
/** Test for rule conflict within the StoneSet */
public boolean isValid() {
}
/**
* Splits the StoneSet at a specified {@link Position} and returns two new
* Stone Sets
*
* @param position
* Splitting {@link Position}
*/
public Pair<StoneSet, StoneSet> splitAt(int position) {
}
/**
* Joins StoneSet to another StoneSet and returns the resulting new StoneSet
*
* @param other
* StoneSet to be joined to active StoneSet
*/
public StoneSet join(StoneSet other) {
}
}