|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectComando
public abstract class Comando
Modella un comando generico. Ogni comando per essere accettato dal gioco deve estendere questa classe.
| Constructor Summary | |
|---|---|
Comando()
|
|
| Method Summary | |
|---|---|
abstract boolean |
esegui(Giocatore giocatore,
Tabellone planisfero)
Esegue il comando |
abstract 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 Comando()
| Method Detail |
|---|
public abstract java.lang.String getNomeComando()
public abstract boolean esegui(Giocatore giocatore,
Tabellone planisfero)
throws java.io.IOException
giocatore - 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 | ||||||||