opponent aufruf hat gefehlt -> eingefügt + ID attribut eingefügt
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
<Compile Include="src\StringUtils.cs" />
|
||||
<Compile Include="src\ParsingException.cs" />
|
||||
<Compile Include="src\Message.cs" />
|
||||
<Compile Include="Opponent.cs" />
|
||||
<Compile Include="src\Opponent.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="src\DefaultGui\" />
|
||||
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user