|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ITripleaDisplay
| Method Summary | |
|---|---|
void |
battleEnd(GUID battleID,
java.lang.String message)
The given battle has eneded. |
void |
bombingResults(GUID battleID,
int[] dice,
int cost)
Notification of the results of a bombing raid |
void |
casualtyNotification(GUID battleID,
java.lang.String step,
DiceRoll dice,
PlayerID player,
java.util.Collection<Unit> killed,
java.util.Collection<Unit> damaged,
java.util.Map<Unit,java.util.Collection<Unit>> dependents)
Notify that the casuatlies occured |
void |
gotoBattleStep(GUID battleId,
java.lang.String step)
|
void |
listBattleSteps(GUID battleID,
java.util.List<java.lang.String> steps)
|
void |
notifyDice(GUID battleId,
DiceRoll dice,
java.lang.String stepName)
Show dice for the given battle and step |
void |
notifyRetreat(GUID battleId,
java.util.Collection<Unit> retreating)
|
void |
notifyRetreat(java.lang.String shortMessage,
java.lang.String message,
java.lang.String step,
PlayerID retreatingPlayer)
Notify that the given player has retreated some or all of his units. |
void |
showBattle(GUID battleID,
Territory location,
java.lang.String battleTitle,
java.util.Collection<Unit> attackingUnits,
java.util.Collection<Unit> defendingUnits,
java.util.Map<Unit,java.util.Collection<Unit>> dependentUnits,
PlayerID attacker,
PlayerID defender)
Display info about the battle. |
| Methods inherited from interface games.strategy.engine.display.IDisplay |
|---|
initialize, shutDown |
| Method Detail |
|---|
void showBattle(GUID battleID,
Territory location,
java.lang.String battleTitle,
java.util.Collection<Unit> attackingUnits,
java.util.Collection<Unit> defendingUnits,
java.util.Map<Unit,java.util.Collection<Unit>> dependentUnits,
PlayerID attacker,
PlayerID defender)
battleID - - a unique id for the battlelocation - - where the battle occursbattleTitle - - the title of the battleattackingUnits - - attacking unitsdefendingUnits - - defending unitsdependentUnits - - unit dependencies, maps Unit->Collection of units
void listBattleSteps(GUID battleID,
java.util.List<java.lang.String> steps)
battleID - - the battle we are listing steps forcurrentStep - - the current stepsteps - - a collection of strings denoting all steps in the battle
void battleEnd(GUID battleID,
java.lang.String message)
void casualtyNotification(GUID battleID,
java.lang.String step,
DiceRoll dice,
PlayerID player,
java.util.Collection<Unit> killed,
java.util.Collection<Unit> damaged,
java.util.Map<Unit,java.util.Collection<Unit>> dependents)
void bombingResults(GUID battleID,
int[] dice,
int cost)
void notifyRetreat(java.lang.String shortMessage,
java.lang.String message,
java.lang.String step,
PlayerID retreatingPlayer)
shortMessage - message - step -
void notifyRetreat(GUID battleId,
java.util.Collection<Unit> retreating)
void notifyDice(GUID battleId,
DiceRoll dice,
java.lang.String stepName)
battleId - dice -
void gotoBattleStep(GUID battleId,
java.lang.String step)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||