Table tests
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@85 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
88292e9304
commit
54fa9085e7
2 changed files with 73 additions and 19 deletions
|
@ -5,27 +5,13 @@ package jrummikub.model;
|
|||
public class Table extends StoneTray<StoneSet> {
|
||||
|
||||
/**
|
||||
* Removes {@link Stone} from the Table and returns it
|
||||
* Removes {@link Stone} from the Table
|
||||
*
|
||||
* @param position
|
||||
* {@link Position} of the selected {@link Stone}
|
||||
* @param stone
|
||||
* stone to pick up
|
||||
*/
|
||||
public Stone pickUpStone(Position position) {
|
||||
public void pickUpStone(Stone stone) {
|
||||
// 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} */
|
||||
|
@ -33,4 +19,5 @@ public class Table extends StoneTray<StoneSet> {
|
|||
// TODO implement this method
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Reference in a new issue