Added new class player.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package ch.zhaw.catan;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
/**
|
||||
* New Class PLayer
|
||||
* This class is here to add players to the game.
|
||||
* @author: Stefan Amador
|
||||
*/
|
||||
public class Player {
|
||||
|
||||
private String name;
|
||||
private Config.Faction faction;
|
||||
private Config.Resource resource;
|
||||
|
||||
public Player (String name, Config.Faction faction){
|
||||
this.name = new name(" ");
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user