Refactor: Gatherers->Gatherer

This commit is contained in:
rubenpirreram
2026-03-20 19:07:59 +01:00
parent d80c2888ee
commit 0e9a4781bb
8 changed files with 24 additions and 28 deletions
@@ -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);