@Test public void testCopy() { assertEquals(start, start.copy()); assertEquals(test1, test1.copy()); }
@SuppressWarnings("unchecked") @Override public OthelloState copy() { return new OthelloState(this); }
OthelloState extends TwoDimensionalBoardGameState { @SuppressWarnings("unchecked") @Override public OthelloState copy() { return new OthelloState(this); } }
OthelloState extends TwoDimensionalBoardGameState { @SuppressWarnings("unchecked") @Override public OthelloState copy() { return new OthelloState(this); } OthelloState();  OthelloState(OthelloState state);  OthelloState(int[][] board, int nextPlay, List<Integer> win); }
OthelloState extends TwoDimensionalBoardGameState { @SuppressWarnings("unchecked") @Override public OthelloState copy() { return new OthelloState(this); } OthelloState();  OthelloState(OthelloState state);  OthelloState(int[][] board, int nextPlay, List<Integer> win); int getNumPlayers(); @Override boolean endState(); @Override boolean moveSinglePoint(Point goTo); @SuppressWarnings("unchecked") @Override Set<T> possibleBoardGameStates(T currentState); @SuppressWarnings("unchecked") @Override OthelloState copy(); @Override List<Integer> getWinners(); @Override void setupStartingBoard(); @Override int getBoardWidth(); @Override int getBoardHeight(); @Override char[] getPlayerSymbols(); @Override Color[] getPlayerColors(); @Override boolean moveDoublePoint(Point goTo, Point moveTo); @Override boolean moveOnePiece(); String toString(); }
OthelloState extends TwoDimensionalBoardGameState { @SuppressWarnings("unchecked") @Override public OthelloState copy() { return new OthelloState(this); } OthelloState();  OthelloState(OthelloState state);  OthelloState(int[][] board, int nextPlay, List<Integer> win); int getNumPlayers(); @Override boolean endState(); @Override boolean moveSinglePoint(Point goTo); @SuppressWarnings("unchecked") @Override Set<T> possibleBoardGameStates(T currentState); @SuppressWarnings("unchecked") @Override OthelloState copy(); @Override List<Integer> getWinners(); @Override void setupStartingBoard(); @Override int getBoardWidth(); @Override int getBoardHeight(); @Override char[] getPlayerSymbols(); @Override Color[] getPlayerColors(); @Override boolean moveDoublePoint(Point goTo, Point moveTo); @Override boolean moveOnePiece(); String toString(); static final int BLACK_CHIP; static final int WHITE_CHIP; }