ipdlx
Class StandardGameResult

java.lang.Object
  extended by ipdlx.GameResult
      extended by ipdlx.StandardGameResult
Direct Known Subclasses:
GameResultLog

public class StandardGameResult
extends GameResult

Results of the game how many points each player won

Author:
Jan Humble

Field Summary
 
Fields inherited from class ipdlx.GameResult
nrRounds, payoffs, players
 
Constructor Summary
StandardGameResult(int nrRounds)
          constructor
StandardGameResult(Player playerA, Player playerB, int nrRounds)
          constructor
 
Method Summary
 void addPayoff(double playerAPayoff, double playerBPayoff)
           
 Player getPlayerA()
           
 Player getPlayerB()
           
 
Methods inherited from class ipdlx.GameResult
addPayoff, getLog, getPayoffPlayer, getPayoffs, getPlayer, toString, writeMove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StandardGameResult

public StandardGameResult(int nrRounds)
constructor


StandardGameResult

public StandardGameResult(Player playerA,
                          Player playerB,
                          int nrRounds)
constructor

Method Detail

getPlayerA

public final Player getPlayerA()

getPlayerB

public final Player getPlayerB()

addPayoff

public void addPayoff(double playerAPayoff,
                      double playerBPayoff)