gecco.game.dke3
Class DKE3Referee

java.lang.Object
  |
  +--gecco.server.referee.Referee
        |
        +--gecco.game.dke.DKEReferee
              |
              +--gecco.game.dke3.DKE3Referee

public class DKE3Referee
extends DKEReferee

DKE3Referee.java Created: Mon Jan 19 16:31:31 2004

Author:
Hans Sandström

Field Summary
 
Fields inherited from class gecco.game.dke.DKEReferee
blueObjectiveObtained, blueRemainingUnits, blueScore, blueScorePointPoints, blueVictoryPoint, blueVPPos, blueWarUnitsPoints, gameType, isGameEnded, isVictoryPointsFound, redObjectiveObtained, redRemainingUnits, redScore, redScorePointPoints, redVictoryPoint, redVPPos, redWarUnitsPoints, winningForce
 
Constructor Summary
DKE3Referee()
           
 
Method Summary
protected  void gameOver()
           
protected  ArrayList getBasePoints()
           
protected  ArrayList getCapturedBeachHeads()
          getCapturedBeachHeads returns a arrayList containing ArrayLists with the BeachHeadPoints that are part of a captured beach-head.
 void lastVisitorChanged(int newVisitor)
          lastVisitorChanged overrided for compatibility reasons
 void startReferee()
           
 void timeIsUp(double time)
           
 void writeResult()
           
 
Methods inherited from class gecco.game.dke.DKEReferee
calculateScore, calculateScoreFromWarUnits, coffeeBreak, filterOutScorePoints, filterOutVictoryPoints, filterOutWarUnits, findVictoryPoints, isGameWon, newOwnerOfGameEventPoint, sortScorePoints, stopGame, testForWinnerOnPoints
 
Methods inherited from class gecco.server.referee.Referee
showScore, timeIsUp, unitConqured, unitDestroyed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DKE3Referee

public DKE3Referee()
Method Detail

startReferee

public void startReferee()
Overrides:
startReferee in class DKEReferee

timeIsUp

public void timeIsUp(double time)
Overrides:
timeIsUp in class DKEReferee

lastVisitorChanged

public void lastVisitorChanged(int newVisitor)
lastVisitorChanged overrided for compatibility reasons

Overrides:
lastVisitorChanged in class DKEReferee
Parameters:
newVisitor - an int value

getBasePoints

protected ArrayList getBasePoints()

getCapturedBeachHeads

protected ArrayList getCapturedBeachHeads()
getCapturedBeachHeads returns a arrayList containing ArrayLists with the BeachHeadPoints that are part of a captured beach-head.

Returns:
an ArrayList value

gameOver

protected void gameOver()
Overrides:
gameOver in class DKEReferee

writeResult

public void writeResult()
Overrides:
writeResult in class DKEReferee