rl.leviathan.game
Class LeviathanPowerAllocation

java.lang.Object
  extended by rl.leviathan.game.LeviathanPowerAllocation

public class LeviathanPowerAllocation
extends java.lang.Object


Constructor Summary
LeviathanPowerAllocation(LeviathanGameSide sideOne, LeviathanGameSide sideTwo)
           
 
Method Summary
 void addListener(LeviathanPowerAllocationListener l)
           
 void completePowerAllocation(Player p)
           
 CapitalShipPowerAllocation getPowerAllocation(CapitalShip cs)
           
 boolean isPowerAllocated(CapitalShip cs)
           
 void removeListener(LeviathanPowerAllocationListener l)
           
 void setPowerAllocation(CapitalShipPowerAllocation allocation)
           
 void startPowerAllocation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LeviathanPowerAllocation

public LeviathanPowerAllocation(LeviathanGameSide sideOne,
                                LeviathanGameSide sideTwo)
Method Detail

addListener

public void addListener(LeviathanPowerAllocationListener l)

removeListener

public void removeListener(LeviathanPowerAllocationListener l)

startPowerAllocation

public void startPowerAllocation()

setPowerAllocation

public void setPowerAllocation(CapitalShipPowerAllocation allocation)

completePowerAllocation

public void completePowerAllocation(Player p)

isPowerAllocated

public boolean isPowerAllocated(CapitalShip cs)

getPowerAllocation

public CapitalShipPowerAllocation getPowerAllocation(CapitalShip cs)