rl.centurion.game
Class CenturionMovementRound

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

public class CenturionMovementRound
extends java.lang.Object


Constructor Summary
CenturionMovementRound(int round, int turn, CenturionElementVisibility elementVisibility, CenturionGameSide teamA, CenturionGameSide teamB, java.util.Vector<CenturionUnit> teamATotalUnitsMoved, java.util.Vector<CenturionUnit> teamBTotalUnitsMoved)
           
 
Method Summary
 void addListener(CenturionMovementRoundListener l)
           
 void gameElementMoved(GameElement element)
           
 int getRound()
           
 void removeListener(CenturionMovementRoundListener l)
           
 void setCurrentMovingUnit(CenturionUnit unit)
           
 void setUnitToMove(UnitIdentifier unit)
           
 void startTeamAMovement()
           
 void startTeamBMovement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CenturionMovementRound

public CenturionMovementRound(int round,
                              int turn,
                              CenturionElementVisibility elementVisibility,
                              CenturionGameSide teamA,
                              CenturionGameSide teamB,
                              java.util.Vector<CenturionUnit> teamATotalUnitsMoved,
                              java.util.Vector<CenturionUnit> teamBTotalUnitsMoved)
Method Detail

getRound

public int getRound()

addListener

public void addListener(CenturionMovementRoundListener l)

removeListener

public void removeListener(CenturionMovementRoundListener l)

startTeamAMovement

public void startTeamAMovement()

startTeamBMovement

public void startTeamBMovement()

setUnitToMove

public void setUnitToMove(UnitIdentifier unit)

setCurrentMovingUnit

public void setCurrentMovingUnit(CenturionUnit unit)

gameElementMoved

public void gameElementMoved(GameElement element)