Пример #1
0
 public void SetCoordinata(int riga, int colonna)
 {
     coordinata = new CoordinataXY(riga, colonna);
 }
Пример #2
0
 public void SetCasellaPiena(CoordinataXY coordinata)
 {
     mappa[coordinata.Riga, coordinata.Colonna].Piena = true;
 }
Пример #3
0
 public ParteNave()
 {
     coordinata = new CoordinataXY();
 }
Пример #4
0
 public Casella getCasella(CoordinataXY coordinate)
 {
     return(mappa[coordinate.Riga, coordinate.Colonna]);
 }