opponent aufruf hat gefehlt -> eingefügt + ID attribut eingefügt

This commit is contained in:
Wafa Sadri
2014-04-11 11:22:00 +02:00
parent fc385dfd9a
commit 72279dbdcb
2 changed files with 4 additions and 2 deletions

21
src/Opponent.cs Normal file
View File

@@ -0,0 +1,21 @@
using System;
namespace inf3
{
public class Opponent
{
int id_;
int points_;
int total_;
enum Decision {DRAGON, STAGHUNT, SKIRMISH};
Decision d_;
public Opponent (int id, int points, int total, Decision d)
{
id_ = id;
points_ = points;
total_ = total;
d_ = d;
}
}
}