From 9a3a9f3b5321b65046fb404676246b9f5f06724c Mon Sep 17 00:00:00 2001 From: schrom01 Date: Fri, 6 May 2022 14:07:55 +0200 Subject: [PATCH] removed Indexes from Game.java --- .../java/ch/zhaw/projekt2/turnierverwaltung/Game.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/app/src/main/java/ch/zhaw/projekt2/turnierverwaltung/Game.java b/app/src/main/java/ch/zhaw/projekt2/turnierverwaltung/Game.java index 77f7854..4c0a5ee 100644 --- a/app/src/main/java/ch/zhaw/projekt2/turnierverwaltung/Game.java +++ b/app/src/main/java/ch/zhaw/projekt2/turnierverwaltung/Game.java @@ -12,8 +12,6 @@ public class Game implements Serializable { public Game(Participant participant1, Participant participant2, int index1, int index2) { this.participant1 = participant1; this.participant2 = participant2; - this.index1 = index1; - this.index2 = index2; } public Place getLocation() { @@ -60,14 +58,6 @@ public class Game implements Serializable { return place; } - public int getIndex1() { - return index1; - } - - public int getIndex2() { - return index2; - } - public Participant getWinner(){ if(points1 > points2){ return participant1;