From e79cc222d7ede39a240b00800a9cf61d79ec6988 Mon Sep 17 00:00:00 2001 From: Tomasz Piechucki Date: Tue, 22 Mar 2011 17:59:08 +0000 Subject: [PATCH] --- Winda/src/Logic/AlgorytmGoraDol.java | 4 ++++ Winda/src/Logic/AlgorytmNajblizszeWezwanie.java | 4 ++++ Winda/src/Logic/IAlgorytm.java | 2 +- Winda/src/Logic/Pasazer.java | 8 ++++++++ 4 files changed, 17 insertions(+), 1 deletion(-) diff --git a/Winda/src/Logic/AlgorytmGoraDol.java b/Winda/src/Logic/AlgorytmGoraDol.java index d301d4e..8a9d254 100644 --- a/Winda/src/Logic/AlgorytmGoraDol.java +++ b/Winda/src/Logic/AlgorytmGoraDol.java @@ -11,4 +11,8 @@ package Logic; */ public class AlgorytmGoraDol implements IAlgorytm { + public int[] Trasa(Pasazer[] pasazerowie) { + throw new UnsupportedOperationException("Not supported yet."); + } + } diff --git a/Winda/src/Logic/AlgorytmNajblizszeWezwanie.java b/Winda/src/Logic/AlgorytmNajblizszeWezwanie.java index 1152fae..dc4b477 100644 --- a/Winda/src/Logic/AlgorytmNajblizszeWezwanie.java +++ b/Winda/src/Logic/AlgorytmNajblizszeWezwanie.java @@ -11,4 +11,8 @@ package Logic; */ public class AlgorytmNajblizszeWezwanie implements IAlgorytm{ + public int[] Trasa(Pasazer[] pasazerowie) { + throw new UnsupportedOperationException("Not supported yet."); + } + } diff --git a/Winda/src/Logic/IAlgorytm.java b/Winda/src/Logic/IAlgorytm.java index 5888db4..6bed9f9 100644 --- a/Winda/src/Logic/IAlgorytm.java +++ b/Winda/src/Logic/IAlgorytm.java @@ -10,5 +10,5 @@ package Logic; * @author Tomek */ public interface IAlgorytm { - + public int [] Trasa(Pasazer [] pasazerowie); } diff --git a/Winda/src/Logic/Pasazer.java b/Winda/src/Logic/Pasazer.java index a6eb0a9..fc8443d 100644 --- a/Winda/src/Logic/Pasazer.java +++ b/Winda/src/Logic/Pasazer.java @@ -31,4 +31,12 @@ public class Pasazer { public int GetStop() { return this.stop; } + + public void SetStart(int start) { + this.start = start; + } + + public void SetStop(int stop) { + this.stop = stop; + } }