aboutsummaryrefslogtreecommitdiff
path: root/Week4 Drawing loipes/src/oo15loipe/InfoLoipe.java
diff options
context:
space:
mode:
authorCamil Staps2015-04-18 13:44:44 +0200
committerCamil Staps2015-04-18 13:44:44 +0200
commit6a44b074f0169a1b0f9e92347af929c5e471746e (patch)
treeae5663fe7c69881bf4ecfedbef99c2505f8ec964 /Week4 Drawing loipes/src/oo15loipe/InfoLoipe.java
parentAdded 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.java35
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 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
+}
+