This commit is contained in:
parent
e79cc222d7
commit
950e78b73c
1 changed files with 34 additions and 0 deletions
34
Winda/src/Logic/Pietro.java
Normal file
34
Winda/src/Logic/Pietro.java
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
/*
|
||||||
|
* To change this template, choose Tools | Templates
|
||||||
|
* and open the template in the editor.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package Logic;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author Tomek
|
||||||
|
*/
|
||||||
|
public class Pietro {
|
||||||
|
private Pasazer [] pasazerowie;
|
||||||
|
|
||||||
|
public Pietro(){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public Pasazer [] GetPasazerowie(){
|
||||||
|
return this.pasazerowie;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SetPasazerowie(Pasazer [] pasazerowie) {
|
||||||
|
this.pasazerowie = pasazerowie;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void AddPasazer(Pasazer pasazer) {
|
||||||
|
this.pasazerowie[this.pasazerowie.length + 1] = pasazer;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void DeletePasazer(Pasazer pasazer) {
|
||||||
|
throw new UnsupportedOperationException("Not supported yet.");
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue