diff options
author | Camil Staps | 2015-02-26 17:45:59 +0100 |
---|---|---|
committer | Camil Staps | 2015-02-26 17:45:59 +0100 |
commit | 4c555281988424a83b004c06a3f85e60d1c9fc6e (patch) | |
tree | feefe8cba9ae8ebdc3ae063ea7757a06d1cd4e18 /Week4/src/oo15loipe/InfoLoipe.java | |
parent | x (diff) |
Finished week 4
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 } |