diff --git a/Winda/src/Logic/Pietro.java b/Winda/src/Logic/Pietro.java new file mode 100644 index 0000000..07b9456 --- /dev/null +++ b/Winda/src/Logic/Pietro.java @@ -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."); + } +}