|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectComando
ComandoAttacca
public class ComandoAttacca
Modella un comando che consente al giocatore di attaccare un avversario, scegliendo un proprio territorio come base di partenza e uno dell'avversario come punto di attacco.
| Constructor Summary | |
|---|---|
ComandoAttacca(java.lang.String da,
java.lang.String a)
Costruisce il comando |
|
| Method Summary | |
|---|---|
boolean |
esegui(Giocatore giocatore,
Tabellone planisfero)
Esegue il comando |
java.lang.String |
getNomeComando()
Restituisce il nome del comando |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ComandoAttacca(java.lang.String da,
java.lang.String a)
da - territorio di partenzaa - territorio di destinazione| Method Detail |
|---|
public java.lang.String getNomeComando()
Comando
getNomeComando in class Comando
public boolean esegui(Giocatore giocatore,
Tabellone planisfero)
throws java.io.IOException
Comando
esegui in class Comandogiocatore - esecutore del comandoplanisfero - riferimento al tabellone di gioco
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||