From 4c555281988424a83b004c06a3f85e60d1c9fc6e Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Thu, 26 Feb 2015 17:45:59 +0100 Subject: Finished week 4 --- Week4/src/oo15loipe/InfoLoipe.java | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) (limited to 'Week4/src/oo15loipe/InfoLoipe.java') diff --git a/Week4/src/oo15loipe/InfoLoipe.java b/Week4/src/oo15loipe/InfoLoipe.java index 1796418..a1cf182 100644 --- a/Week4/src/oo15loipe/InfoLoipe.java +++ b/Week4/src/oo15loipe/InfoLoipe.java @@ -1,19 +1,35 @@ -/* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. - */ package oo15loipe; /** - * - * @author cstaps + * Interface for a class describing a Loipe + * + * @author Camil Staps, s4498062, Thijs Heijligenberg, s4451414 */ public interface InfoLoipe { + public int getWidth( ) ; // grootte in oost􀀀west r i cht ing public int getHeight( ) ; // grootte in noord􀀀zuid r i cht ing + + /** + * Get the fragment at position (x, y) + * + * @param x + * @param y + * @return + */ public Fragment getFragment( int x, int y) ; // fragment van de loipe op po s i t i e (x , y) + + /** + * Get the first position of the loipe + * + * @return + */ public Punt start( ) ; // Het startpunt op de kaart + + /** + * Get the next position in the loipe + * @return + */ public Punt stap( ) ; // het volgende punt op de route } -- cgit v1.2.3