aboutsummaryrefslogtreecommitdiff
path: root/Week4/src/oo15loipe/InfoLoipe.java
diff options
context:
space:
mode:
authorCamil Staps2015-02-26 17:45:59 +0100
committerCamil Staps2015-02-26 17:45:59 +0100
commit4c555281988424a83b004c06a3f85e60d1c9fc6e (patch)
treefeefe8cba9ae8ebdc3ae063ea7757a06d1cd4e18 /Week4/src/oo15loipe/InfoLoipe.java
parentx (diff)
Finished week 4
Diffstat (limited to 'Week4/src/oo15loipe/InfoLoipe.java')
-rw-r--r--Week4/src/oo15loipe/InfoLoipe.java30
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 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
}