|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--dBattNav.dCoppia.Coppia
classe Coppia per la gestione di un punto nel piano
Nave
,
Portaerei
Field Summary | |
private int |
x
|
private int |
y
|
Constructor Summary | |
Coppia(int X,
int Y)
costruttore di inizializzazione |
Method Summary | |
int |
getX()
getX restituisce la coordinata x |
int |
getY()
getY restituisce la coordinata y |
void |
setX(int X)
getX imposta la coordinata x |
void |
setY(int Y)
getY imposta la coordinata y |
java.lang.String |
toString()
toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private int x
private int y
Constructor Detail |
public Coppia(int X, int Y)
Method Detail |
public int getX()
public int getY()
public void setX(int X)
public void setY(int Y)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |