Last change
on this file since 1315 was
193,
checked in by Maciej Komosinski, 11 years ago
|
Set svn:eol-style native for all textual files
|
-
Property svn:eol-style set to
native
|
File size:
497 bytes
|
Line | |
---|
1 | package games; |
---|
2 | |
---|
3 | public interface Board extends Cloneable { |
---|
4 | public int countPieces(int i); |
---|
5 | |
---|
6 | public int getPiece(int row, int col); |
---|
7 | |
---|
8 | public int getPiece(int row, int col, int dir, int dist); |
---|
9 | |
---|
10 | public void setPiece(int row, int col, int dir, int dist, int currentPlayer); |
---|
11 | |
---|
12 | public boolean isEmpty(int row, int col); |
---|
13 | |
---|
14 | public GameMove getShiftedMove(int row, int col, int dir, int dist); |
---|
15 | |
---|
16 | public double evaluate(Player player); |
---|
17 | |
---|
18 | public int getValueAt(int row, int col); |
---|
19 | |
---|
20 | public Board clone(); |
---|
21 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.