|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbattaglianavale.Giocatore
battaglianavale.Umano
public class Umano
Implementazione del giocatore umano
Field Summary |
---|
Fields inherited from class battaglianavale.Giocatore |
---|
flotta, nome, video |
Constructor Summary | |
---|---|
Umano(java.lang.String aNome,
Flotta aFlotta,
Interfaccia aVideo)
|
Method Summary | |
---|---|
void |
BombardaFlotta(Flotta flottaNemica)
Bombarda la flotta nemica |
void |
disponiNave(Nave nave)
Disponi la nave sulla griglia associata alla flotta |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Umano(java.lang.String aNome, Flotta aFlotta, Interfaccia aVideo)
aNome
- aFlotta
- aVideo
- Method Detail |
---|
public void BombardaFlotta(Flotta flottaNemica) throws java.rmi.RemoteException
BombardaFlotta
in class Giocatore
flottaNemica
- grigliaNemica
-
java.rmi.RemoteException
public void disponiNave(Nave nave) throws java.rmi.RemoteException
disponiNave
in class Giocatore
nave
-
java.rmi.RemoteException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |