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
@@ -23,7 +23,7 @@ class Building0Test {
assertEquals(0, p.getFoodValue());
Artist a = new Artist(Era);
Builder b = new Builder(Era, 0, 0);
Gatherers g = new Gatherers(Era);
Gatherer g = new Gatherer(Era);
Hunter h = new Hunter(Era, true);
Inventor i = new Inventor(Era, 1);
Shaman s = new Shaman(Era,1);
@@ -46,7 +46,7 @@ class Building0Test {
assertEquals(0, p.getFoodValue());
Artist a = new Artist(Era);
Builder b = new Builder(Era, 0, 0);
Gatherers g = new Gatherers(Era);
Gatherer g = new Gatherer(Era);
Hunter h = new Hunter(Era, true);
Inventor i = new Inventor(Era, 1);
Shaman s = new Shaman(Era,1);
@@ -1,8 +1,6 @@
package it.polimi.ingsw.gc14.Model.Cards.Building.Effects;
import it.polimi.ingsw.gc14.Model.Cards.TribeCard;
import it.polimi.ingsw.gc14.Model.Cards.TribeCards.Characters.*;
import it.polimi.ingsw.gc14.Model.Cards.TribeCards.Events.Hunt;
import it.polimi.ingsw.gc14.Model.Player;
import org.junit.jupiter.api.Test;
@@ -24,7 +22,7 @@ class Building10Test {
ArrayList<Artist> Artists = new ArrayList<>();
ArrayList<Builder> Builders = new ArrayList<>();
ArrayList<Gatherers> Gatherers = new ArrayList<>();
ArrayList<Gatherer> Gatherers = new ArrayList<>();
ArrayList<Hunter> Hunters = new ArrayList<>();
ArrayList<Inventor> Inventors = new ArrayList<>();
ArrayList<Shaman> Shamans = new ArrayList<>();
@@ -32,7 +30,7 @@ class Building10Test {
for(int i = 0; i < Nset; i++) {
Artists.add(new Artist(Era));
Builders.add(new Builder(Era, 0, 0));
Gatherers.add(new Gatherers(Era));
Gatherers.add(new Gatherer(Era));
Hunters.add(new Hunter(Era, true));
Inventors.add(new Inventor(Era, 1));
Shamans.add(new Shaman(Era, 1));