|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectComando
ComandoStampa
public class ComandoStampa
È un comando per la stampa di informazioni. Quando un giocatore vuole stampare delle informazioni lancia un comando di stampa per il tipo di informazioni desiderate.
| Constructor Summary | |
|---|---|
ComandoStampa(java.lang.String what)
Costruisce un comando che stampa le informazioni richieste nel parametro. |
|
| 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 ComandoStampa(java.lang.String what)
what - informazioni desiderate| 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 | ||||||||