diff options
author | Camil Staps | 2015-04-18 13:44:44 +0200 |
---|---|---|
committer | Camil Staps | 2015-04-18 13:44:44 +0200 |
commit | 6a44b074f0169a1b0f9e92347af929c5e471746e (patch) | |
tree | ae5663fe7c69881bf4ecfedbef99c2505f8ec964 /Week4 Drawing loipes/src/oo15loipe/InfoLoipe.java | |
parent | Added copyright to docs (diff) |
Reorganised projects
Diffstat (limited to 'Week4 Drawing loipes/src/oo15loipe/InfoLoipe.java')
-rw-r--r-- | Week4 Drawing loipes/src/oo15loipe/InfoLoipe.java | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Week4 Drawing loipes/src/oo15loipe/InfoLoipe.java b/Week4 Drawing loipes/src/oo15loipe/InfoLoipe.java new file mode 100644 index 0000000..a1cf182 --- /dev/null +++ b/Week4 Drawing loipes/src/oo15loipe/InfoLoipe.java @@ -0,0 +1,35 @@ +package oo15loipe; + +/** + * 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 +} + |