Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. public interface Piece {
  2.  
  3. public enum Side {
  4. BLACK, WHITE
  5. }
  6.  
  7. public void getSide();
  8.  
  9. public void movePiece(Position position);
  10.  
  11. public void takePiece(Position position);
  12.  
  13. public void getPosition();
  14. }
  15.  
  16. import java.util.ArrayList;
  17.  
  18. public class Board {
  19.  
  20. public ArrayList<Piece> activePieces;
  21.  
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement