From 72279dbdcbac96a00b066ea6cd4fdcc90585c1fc Mon Sep 17 00:00:00 2001 From: Wafa Sadri Date: Fri, 11 Apr 2014 11:22:00 +0200 Subject: [PATCH] =?UTF-8?q?opponent=20aufruf=20hat=20gefehlt=20->=20eingef?= =?UTF-8?q?=C3=BCgt=20+=20ID=20attribut=20eingef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inf3.csproj | 2 +- Opponent.cs => src/Opponent.cs | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) rename Opponent.cs => src/Opponent.cs (71%) diff --git a/inf3.csproj b/inf3.csproj index 9ed020a..efa4bc4 100644 --- a/inf3.csproj +++ b/inf3.csproj @@ -57,7 +57,7 @@ - + diff --git a/Opponent.cs b/src/Opponent.cs similarity index 71% rename from Opponent.cs rename to src/Opponent.cs index 89e2eb4..56f1b18 100644 --- a/Opponent.cs +++ b/src/Opponent.cs @@ -4,13 +4,15 @@ namespace inf3 { public class Opponent { + int id_; int points_; int total_; enum Decision {DRAGON, STAGHUNT, SKIRMISH}; Decision d_; - public Opponent (int points, int total, Decision d) + public Opponent (int id, int points, int total, Decision d) { + id_ = id; points_ = points; total_ = total; d_ = d;