FineField in Player

This commit is contained in:
Johannes Schmelz 2024-11-13 23:50:06 +01:00
parent fafa53ffb7
commit 3668382911

View File

@ -15,6 +15,7 @@ import pp.monopoly.model.FieldVisitor;
import pp.monopoly.model.Figure;
import pp.monopoly.model.fields.BuildingProperty;
import pp.monopoly.model.fields.EventField;
import pp.monopoly.model.fields.FineField;
import pp.monopoly.model.fields.FoodField;
import pp.monopoly.model.fields.GateField;
import pp.monopoly.model.fields.GoField;
@ -123,4 +124,10 @@ public class Player implements FieldVisitor<Void>{
accountBalance += 4000;
return null;
}
@Override
public Void visit(FineField field) {
// TODO Auto-generated method stub
throw new UnsupportedOperationException("Unimplemented method 'visit'");
}
}