rl.centurion.game
Class CenturionFiringRound

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

public class CenturionFiringRound
extends java.lang.Object


Constructor Summary
CenturionFiringRound(CenturionElementVisibility elementVisibility, CenturionBoard board, CenturionGameSide teamA, CenturionGameSide teamB, java.util.Vector<GameElement> teamATotalElementsFiring, java.util.Vector<GameElement> teamBTotalElementsFiring, int turn, java.util.Vector<GameElement> elementsFiredThisTurn)
           
 
Method Summary
 void addListener(CenturionFiringRoundListener l)
           
 void completeFiringDecleration(java.util.Vector<GameElement> elements)
           
 void gameElementFiring(GameElement element, GameElement target)
           
 void gameElementFiringComplete(GameElement element)
           
 void removeListener(CenturionFiringRoundListener l)
           
 void setCurrentPlayer(Player p)
           
 void startTeamAFiring()
           
 void startTeamBFiring()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CenturionFiringRound

public CenturionFiringRound(CenturionElementVisibility elementVisibility,
                            CenturionBoard board,
                            CenturionGameSide teamA,
                            CenturionGameSide teamB,
                            java.util.Vector<GameElement> teamATotalElementsFiring,
                            java.util.Vector<GameElement> teamBTotalElementsFiring,
                            int turn,
                            java.util.Vector<GameElement> elementsFiredThisTurn)
Method Detail

addListener

public void addListener(CenturionFiringRoundListener l)

removeListener

public void removeListener(CenturionFiringRoundListener l)

startTeamAFiring

public void startTeamAFiring()

startTeamBFiring

public void startTeamBFiring()

setCurrentPlayer

public void setCurrentPlayer(Player p)

gameElementFiring

public void gameElementFiring(GameElement element,
                              GameElement target)

gameElementFiringComplete

public void gameElementFiringComplete(GameElement element)

completeFiringDecleration

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