diff --git a/schach/src/main/java/de/hs_mannheim/informatik/chess/model/MoveDTO.java b/schach/src/main/java/de/hs_mannheim/informatik/chess/model/MoveDTO.java index 48064a8..206081a 100644 --- a/schach/src/main/java/de/hs_mannheim/informatik/chess/model/MoveDTO.java +++ b/schach/src/main/java/de/hs_mannheim/informatik/chess/model/MoveDTO.java @@ -1,5 +1,14 @@ package de.hs_mannheim.informatik.chess.model; public class MoveDTO { + private int fromRow, fromCol; + private int toRow, toCol; + + public MoveDTO(int fromRow, int fromCol, int toRow, int toCol) { + this.fromRow = fromRow; + this.fromCol = fromCol; + this.toRow = toRow; + this.toCol = toCol; + } }