rl.centurion.game
Class CenturionPaintingRound

java.lang.Object
  extended by rl.centurion.game.CenturionPaintingRound

public class CenturionPaintingRound
extends java.lang.Object


Constructor Summary
CenturionPaintingRound(int turn, CenturionElementVisibility elementVisibility, CenturionBoard board, CenturionGameSide teamA, CenturionGameSide teamB, java.util.Vector<GameElement> teamATotalElementsPainting, java.util.Vector<GameElement> teamBTotalElementsPainting)
           
 
Method Summary
 void addListener(CenturionPaintingRoundListener l)
           
 void completePaintingDecleration(java.util.Vector<GameElement> elements)
           
 void gameElementPainting(GameElement element, GameElement target)
           
 java.util.Vector<GameElementIdentifier> getValidTargets(GameElement element)
           
 void removeListener(CenturionPaintingRoundListener l)
           
 void setCurrentPlayer(Player p)
           
 void startTeamAPainting()
           
 void startTeamBPainting()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CenturionPaintingRound

public CenturionPaintingRound(int turn,
                              CenturionElementVisibility elementVisibility,
                              CenturionBoard board,
                              CenturionGameSide teamA,
                              CenturionGameSide teamB,
                              java.util.Vector<GameElement> teamATotalElementsPainting,
                              java.util.Vector<GameElement> teamBTotalElementsPainting)
Method Detail

addListener

public void addListener(CenturionPaintingRoundListener l)

removeListener

public void removeListener(CenturionPaintingRoundListener l)

getValidTargets

public java.util.Vector<GameElementIdentifier> getValidTargets(GameElement element)

startTeamAPainting

public void startTeamAPainting()

startTeamBPainting

public void startTeamBPainting()

setCurrentPlayer

public void setCurrentPlayer(Player p)

gameElementPainting

public void gameElementPainting(GameElement element,
                                GameElement target)

completePaintingDecleration

public void completePaintingDecleration(java.util.Vector<GameElement> elements)