Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Johan Gustav Thrane-Nielsen
inf101.v20.sem2.losning
Commits
63b22d0a
Commit
63b22d0a
authored
Mar 31, 2020
by
Anna Maria Eilertsen
Browse files
changed visibility for overloaded put-method in connect4
parent
20ae4796
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/inf101/v20/sem2/mnkgames/ConnectFour.java
View file @
63b22d0a
...
...
@@ -21,7 +21,7 @@ public class ConnectFour extends MNKGame{
*
* @param x the column to which the piece is added
*/
p
ublic
void
putPieceAt
(
int
x
)
{
p
rivate
void
putPieceAt
(
int
x
)
{
assert
x
>=
0
&&
x
<
getWidth
();
int
firstAvailableRow
=
-
1
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment