From 241a532327fd986be7efe02ec8553bbc40960e49 Mon Sep 17 00:00:00 2001 From: Justin Date: Thu, 19 Jun 2025 21:14:45 +0200 Subject: [PATCH] Added getter/setter to PlayerDTO --- .../informatik/chess/model/PlayerDTO.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/schach/src/main/java/de/hs_mannheim/informatik/chess/model/PlayerDTO.java b/schach/src/main/java/de/hs_mannheim/informatik/chess/model/PlayerDTO.java index 65cf616..a8cd4d6 100644 --- a/schach/src/main/java/de/hs_mannheim/informatik/chess/model/PlayerDTO.java +++ b/schach/src/main/java/de/hs_mannheim/informatik/chess/model/PlayerDTO.java @@ -9,4 +9,19 @@ public class PlayerDTO { this.color = color; } + public String getName() { + return name; + } + + public String getColor() { + return color; + } + + public void setName(String name) { + this.name = name; + } + + public void setColor(String color) { + this.color = color; + } }