Jacson

de.spieleck.app.turn
Class GameResult

java.lang.Object
  extended by de.spieleck.app.turn.GameResult
All Implemented Interfaces:
Game

public class GameResult
extends java.lang.Object
implements Game

A GameResult is a Game attached with a PlayerGameScore for every Player.

Version:
$Revision: 2 $ $Date: 2006-03-20 14:33:27 +0100 (Mo, 20 Mrz 2006) $ $Author: nestefan $
Author:
Frank S. Nestel, $Author: nestefan $
See Also:
PlayerGameScore, Game,

$URL: https://svn.sourceforge.net/svnroot/jtourney/src/de/spieleck/app/turn/GameResult.java $


Constructor Summary
GameResult(int id)
           
 
Method Summary
 void add(Player p, PlayerGameScore pgs)
           
 boolean contains(Player p)
           
 int getId()
           
 PlayerGameScore getScore(Player p)
           
 java.util.Iterator<Player> players()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GameResult

public GameResult(int id)
Method Detail

add

public void add(Player p,
                PlayerGameScore pgs)

contains

public boolean contains(Player p)
Specified by:
contains in interface Game

size

public int size()
Specified by:
size in interface Game

getId

public int getId()
Specified by:
getId in interface Game

players

public java.util.Iterator<Player> players()
Specified by:
players in interface Game

getScore

public PlayerGameScore getScore(Player p)

spieleck.de