opponent aufruf hat gefehlt -> eingefügt + ID attribut eingefügt
This commit is contained in:
21
src/Opponent.cs
Normal file
21
src/Opponent.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user