Skip to content
Snippets Groups Projects
Commit 031cde74 authored by giovanni.novati@studenti.unimi.it's avatar giovanni.novati@studenti.unimi.it
Browse files

VERDE: passa iterablePlayerTest

parent 33819c83
Branches
Tags
No related merge requests found
......@@ -88,6 +88,6 @@ public class Player implements Iterable<Card>{
@NotNull
@Override
public Iterator<Card> iterator() {
return null;
return Collections.unmodifiableList(cards).iterator();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment