From 2d8ed7ab41265397c1f8836ad9469a569073285e Mon Sep 17 00:00:00 2001 From: Tomasz Piechucki Date: Mon, 4 Apr 2011 19:31:14 +0000 Subject: [PATCH] --- Winda/src/winda/logic/Winda.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Winda/src/winda/logic/Winda.java b/Winda/src/winda/logic/Winda.java index 9a29a84..f21bd6e 100644 --- a/Winda/src/winda/logic/Winda.java +++ b/Winda/src/winda/logic/Winda.java @@ -81,4 +81,17 @@ public class Winda { CzasJazdy = Trasa.length*CzasJazdyPietro+IloscPasazerow*CzasWeWyOsoby*2; CzasSredniObslugi = CzasJazdy / IloscPasazerow; } + + public static void main(String[] args) { + + Winda w = new Winda(); + w.SetNajblizszeWzwanie(); + w.Start(); + int [] trasa = w.GetTrasa(); + for(int i = 0;i