Fixing naming issues and imports after !8

This commit is contained in:
Malte Tammena 2017-10-18 14:32:22 +02:00
parent b91c53b492
commit 2d106f36bc
4 changed files with 9 additions and 4 deletions

View file

@ -3,7 +3,7 @@ package game;
import java.util.Random; import java.util.Random;
import player.Player; import player.Player;
import player.MaurizioAI; import player.maurizio.MaurizioAI;
/** /**
* Represents a game of Connect Four. * Represents a game of Connect Four.

View file

@ -1,8 +1,8 @@
package game; package game;
import player.Player; import player.Player;
import player.MaurizioAI; import player.maurizio.MaurizioAI;
import player.MalteAI; import player.malte.MalteAI;
public class Main { public class Main {

View file

@ -5,6 +5,8 @@ import java.util.Set;
import java.util.HashSet; import java.util.HashSet;
import java.util.Arrays; import java.util.Arrays;
import player.Player;
public class MalteAI implements Player{ public class MalteAI implements Player{
private String name; private String name;
@ -42,6 +44,7 @@ public class MalteAI implements Player{
new Item(-1, 0, id), new Item(-1, 0, id),
new Item(-2, 0, id), new Item(-2, 0, id),
new Item(-3, 0, id)); new Item(-3, 0, id));
return null;
} }
private Set<Integer> copySet(Set<Integer> s) { private Set<Integer> copySet(Set<Integer> s) {

View file

@ -1,7 +1,9 @@
package player; package player.maurizio;
import java.util.Random; import java.util.Random;
import player.Player;
public class MaurizioAI implements Player { public class MaurizioAI implements Player {
private String name; private String name;