public Program() { elevator = new Elevator(); kontrol = new Kontrol(); flor = new Flor(kontrol, staff, numberOfFlors); staff = new Staff(numberOfStaff); }
public Flor(Kontrol ctlr, Staff staff, int numberOfFlors) { Myscanner = new Scanner(ctlr); MyPanel = new Panel(ctlr, staff); MyCeilingTruret = new CeilingTruret(ctlr); FlorNumber = numberOfFlors; SecurityLevel = numberOfFlors + 1; Myscanner.ID = numberOfFlors; MyPanel.ID = numberOfFlors; MyCeilingTruret.ID = numberOfFlors; }
public CeilingTruret(Kontrol ctlr) { }
public Scanner(Kontrol ctlr) { }
public Panel(Kontrol ctlr, Staff staff) { MyController = ctlr; MyStaff = staff; }