Refactor: Gatherers->Gatherer
This commit is contained in:
+4
-4
@@ -4,16 +4,16 @@ import it.polimi.ingsw.gc14.Model.Cards.TribeCards.Character;
|
||||
import it.polimi.ingsw.gc14.Model.Cards.TribeCards.CharacterType;
|
||||
import it.polimi.ingsw.gc14.Model.Player;
|
||||
|
||||
public class Gatherers extends Character {
|
||||
public class Gatherer extends Character {
|
||||
|
||||
/**
|
||||
*
|
||||
* @param Era gatherers era
|
||||
*/
|
||||
public Gatherers(int Era) {
|
||||
public Gatherer(int Era) {
|
||||
super(Era, CharacterType.GATHERERS);
|
||||
}
|
||||
public Gatherers(int Era,int nMin) {
|
||||
public Gatherer(int Era, int nMin) {
|
||||
super(Era, CharacterType.GATHERERS,nMin);
|
||||
}
|
||||
@Override
|
||||
@@ -23,7 +23,7 @@ public class Gatherers extends Character {
|
||||
|
||||
@Override
|
||||
public Character clone() {
|
||||
return new Gatherers(getEra());
|
||||
return new Gatherer(getEra());
|
||||
}
|
||||
public void insert(Player player) {
|
||||
player.gatherers.add(this);
|
||||
Reference in New Issue
Block a user