Commit 63b22d0a authored by Anna Maria Eilertsen's avatar Anna Maria Eilertsen
Browse files

changed visibility for overloaded put-method in connect4

parent 20ae4796
......@@ -21,7 +21,7 @@ public class ConnectFour extends MNKGame{
*
* @param x the column to which the piece is added
*/
public void putPieceAt(int x) {
private void putPieceAt(int x) {
assert x >= 0 && x < getWidth();
int firstAvailableRow = -1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment