From 36683829113cc96ccfd27649f150c9f26e327501 Mon Sep 17 00:00:00 2001 From: Johannes Schmelz Date: Wed, 13 Nov 2024 23:50:06 +0100 Subject: [PATCH] FineField in Player --- .../src/main/java/pp/monopoly/game/server/Player.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Projekte/monopoly/model/src/main/java/pp/monopoly/game/server/Player.java b/Projekte/monopoly/model/src/main/java/pp/monopoly/game/server/Player.java index c4f240a..1802f4b 100644 --- a/Projekte/monopoly/model/src/main/java/pp/monopoly/game/server/Player.java +++ b/Projekte/monopoly/model/src/main/java/pp/monopoly/game/server/Player.java @@ -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{ accountBalance += 4000; return null; } + + @Override + public Void visit(FineField field) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'visit'"); + } }