git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@67 72836036-5685-4462-b002-a69064685172
36 lines
879 B
Java
36 lines
879 B
Java
package jrummikub.model;
|
|
|
|
/** Class administering the {@link Stone}s on the game-Table */
|
|
|
|
public class Table extends StoneTray<StoneSet> {
|
|
|
|
/**
|
|
* Removes {@link Stone} from the Table and returns it
|
|
*
|
|
* @param position
|
|
* {@link Position} of the selected {@link Stone}
|
|
*/
|
|
public Stone pickUpStone(Position position) {
|
|
// TODO implement this method
|
|
return null;
|
|
}
|
|
|
|
/**
|
|
* Removes a part of a {@link StoneSet} from the Table and returns it
|
|
*
|
|
* @param from
|
|
* Start {@link Position} of the range
|
|
* @param to
|
|
* End {@link Position} of the range
|
|
*/
|
|
public StoneSet pickUpRange(Position from, Position to) {
|
|
// TODO implement this method
|
|
return null;
|
|
}
|
|
|
|
/** Tests the Table for rule conflicts by checking all the {@link StoneSet} */
|
|
public boolean isValid() {
|
|
// TODO implement this method
|
|
return false;
|
|
}
|
|
}
|