diff options
Diffstat (limited to 'Week4/src/oo15loipe/InfoLoipe.java')
-rw-r--r-- | Week4/src/oo15loipe/InfoLoipe.java | 30 |
1 files changed, 23 insertions, 7 deletions
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 oostwest r i cht ing public int getHeight( ) ; // grootte in noordzuid 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 } |