Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Modify Move interface so its useful
  • Loading branch information
joesweeney committed Apr 3, 2017
1 parent 3aee584 commit b1ce253
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Move.java
@@ -1,4 +1,10 @@

public interface Move {
// Starting and ending Positions
public int src, dest;
// Returns a list of captured positions
public int[] captures();
// Returns the string representation of a move
public String toString();

}

0 comments on commit b1ce253

Please sign in to comment.