gecco.game.dke
Class DKEReferee
java.lang.Object
|
+--gecco.server.referee.Referee
|
+--gecco.game.dke.DKEReferee
- Direct Known Subclasses:
- DKE3Referee
- public class DKEReferee
- extends Referee
Referee.java
Created: Fri Jan 17 10:56:31 2003
- Author:
- Hans Sandström
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
blueObjectiveObtained
protected boolean blueObjectiveObtained
redObjectiveObtained
protected boolean redObjectiveObtained
isVictoryPointsFound
protected boolean isVictoryPointsFound
isGameEnded
protected boolean isGameEnded
blueVictoryPoint
protected VictoryPoint blueVictoryPoint
redVictoryPoint
protected VictoryPoint redVictoryPoint
blueVPPos
protected Point blueVPPos
redVPPos
protected Point redVPPos
winningForce
protected int winningForce
blueScore
protected int blueScore
blueScorePointPoints
protected int blueScorePointPoints
blueWarUnitsPoints
protected int blueWarUnitsPoints
redScore
protected int redScore
redScorePointPoints
protected int redScorePointPoints
redWarUnitsPoints
protected int redWarUnitsPoints
blueRemainingUnits
protected int blueRemainingUnits
redRemainingUnits
protected int redRemainingUnits
gameType
protected int gameType
DKEReferee
public DKEReferee()
startReferee
public void startReferee()
- Overrides:
startReferee
in class Referee
timeIsUp
public void timeIsUp(double time)
newOwnerOfGameEventPoint
public void newOwnerOfGameEventPoint(GameEventPoint gep)
findVictoryPoints
public void findVictoryPoints()
isGameWon
public boolean isGameWon()
lastVisitorChanged
public void lastVisitorChanged(int newVisitor)
testForWinnerOnPoints
public void testForWinnerOnPoints()
calculateScore
protected void calculateScore()
calculateScoreFromWarUnits
protected void calculateScoreFromWarUnits()
filterOutWarUnits
protected Vector filterOutWarUnits(Collection c)
filterOutScorePoints
protected Vector filterOutScorePoints(Collection c)
filterOutVictoryPoints
protected Vector filterOutVictoryPoints(Collection c)
sortScorePoints
protected Vector sortScorePoints(Vector inputVector)
stopGame
protected void stopGame()
gameOver
protected void gameOver()
coffeeBreak
protected void coffeeBreak()
writeResult
public void writeResult()