Fix: Building0Test, BuildingCardTest. Getter method tested
This commit is contained in:
@@ -47,8 +47,8 @@ public class Building0 extends BuildingCard {
|
||||
numSet=player.getNType(type);
|
||||
}
|
||||
purchased = true;
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public BuildingCard clone() {
|
||||
return new Building0(getEra(),getPrice(),getPrestigeValue());
|
||||
|
||||
@@ -63,7 +63,7 @@ public class BuildingCard extends PlayableCard implements Cloneable , BuildingEf
|
||||
this.effectType=EffectType.ON_EVENT;
|
||||
break;
|
||||
case 12:
|
||||
this.effectType=EffectType.ON_ROUND_END;
|
||||
this.effectType=EffectType.ON_ROUND_END;
|
||||
break;
|
||||
default:
|
||||
throw new IllegalArgumentException();
|
||||
|
||||
Reference in New Issue
Block a user