22 lines
316 B
Java
22 lines
316 B
Java
|
package Facade;
|
||
|
|
||
|
import java.util.ArrayList;
|
||
|
|
||
|
import Domain.Player;
|
||
|
|
||
|
public class Game {
|
||
|
|
||
|
ArrayList<Player> player = new ArrayList<>();
|
||
|
|
||
|
|
||
|
public int rollDice(){
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
public Player newPlayer(){
|
||
|
Player p1 = new Player("Jens");
|
||
|
player.add(p1);
|
||
|
return p1;
|
||
|
}
|
||
|
}
|