|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectComando
ComandoAiuto
public class ComandoAiuto
Implementa un help di programma. Stampa l'elenco dei comandi oppure l'aiuto per il singolo comando.
| Constructor Summary | |
|---|---|
ComandoAiuto(java.lang.String aiutoComando)
Costruisce un comando di aiuto per l'utente. |
|
| 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 ComandoAiuto(java.lang.String aiutoComando)
aiutoComando - comando per il quale si chiede l'aiuto| 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 | ||||||||