rl.leviathan.client.game
Class LeviathanGameClient
java.lang.Object
rl.client.game.GameClient
rl.leviathan.client.game.LeviathanGameClient
- All Implemented Interfaces:
- CommandProcessorListener
public class LeviathanGameClient
- extends GameClient
| Methods inherited from class rl.client.game.GameClient |
addBoardListener, addCombatUnitListener, addForceListener, addGameElementListener, addListener, addParticipantListener, addPlayerToGame, addScenarioListener, addVictoryConditionListener, areObserversAllowed, areRaceSelectionsAllowed, disconnected, elementPlacementComplete, getBoard, getConnection, getCurrentPhase, getElement, getElements, getLocationForGameElement, getName, getParticipant, getType, getUnits, isAdmin, isDeploymentPhase, isGamePhase, isObserver, isPlayer, leaveGame, loadScenario, participationSelected, placeGameElement, playerSetupComplete, postCommand, queryAvailableScenarios, queryAvailableUnits, queryCurrentParticipants, queryGameBoard, queryGamePhase, queryGameSides, queryObserversAllowed, queryPlayerCombatUnits, queryPointsList, queryRaceSelectionAllowed, querySelectedUnits, raceSelected, ready, registerHandler, removeBoardListener, removeCombatUnitListener, removeForceListener, removeGameElementListener, removeListener, removeParticipantListener, removeScenarioListener, removeVictoryConditionListener, setConnection, setName, setObserversAllowed, setRaceSelectionAllowed, setType, sideSelected, submitGameElementMovementOrders, unplaceGameElement |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LeviathanGameClient
public LeviathanGameClient()
getTurnNumber
public int getTurnNumber()
- Specified by:
getTurnNumber in class GameClient
addListener
public void addListener(LeviathanGameListener l)
removeListener
public void removeListener(LeviathanGameListener l)
addTurnListener
public void addTurnListener(LeviathanTurnListener l)
removeTurnListener
public void removeTurnListener(LeviathanTurnListener l)
addCommanderListener
public void addCommanderListener(LeviathanCommanderListener l)
removeCommanderListener
public void removeCommanderListener(LeviathanCommanderListener l)
queryCommander
public void queryCommander()
queryTurnDetails
public void queryTurnDetails()
selectMovementTeamOrder
public void selectMovementTeamOrder(java.lang.String team)
selectElement
public void selectElement(GameElementIdentifier element)
powerAllocation
public void powerAllocation(CapitalShipPowerAllocation cspa)
powerAllocationComplete
public void powerAllocationComplete()
queryValidFiringTargets
public void queryValidFiringTargets(GameElementIdentifier element)
- Firing Weapons
orderFireAttempt
public void orderFireAttempt(FiringAttemptPacket packet)
- Send the collection of firing orders to the server. The packet contains all of the firing
orders in firing sequence as well as the relevant source and target information
- Parameters:
packet -
elementCompletedFiring
public void elementCompletedFiring(GameElementIdentifier element)
- Called when the unit has no more firing to declare
- Parameters:
element -
completeFiringDecleration
public void completeFiringDecleration()
queryValidPointDefenceTargets
public void queryValidPointDefenceTargets(GameElementIdentifier element)
- Firing Point Defence
orderPointDefenceAttempt
public void orderPointDefenceAttempt(PointDefenceAttemptPacket packet)
elementCompletedPointDefence
public void elementCompletedPointDefence(GameElementIdentifier element)
completePointDefenceDecleration
public void completePointDefenceDecleration()