aboutsummaryrefslogtreecommitdiff
path: root/Week4
diff options
context:
space:
mode:
Diffstat (limited to 'Week4')
-rw-r--r--Week4/src/oo15loipe/InfoLoipe.java17
-rw-r--r--Week4/src/oo15loipe/TekenLoipe.java15
2 files changed, 32 insertions, 0 deletions
diff --git a/Week4/src/oo15loipe/InfoLoipe.java b/Week4/src/oo15loipe/InfoLoipe.java
new file mode 100644
index 0000000..931a267
--- /dev/null
+++ b/Week4/src/oo15loipe/InfoLoipe.java
@@ -0,0 +1,17 @@
+/*
+ * 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
+ */
+public interface InfoLoipe {
+ public int getX() ; // grootte in oost−west ri c h ti n g
+ public int getY() ; // grootte in noord−zuid ri c h ti n g
+ public Fragment getFragment(int x, int y) ; // fragment van de l oi p e op p o si ti e (x , y)
+}
+
diff --git a/Week4/src/oo15loipe/TekenLoipe.java b/Week4/src/oo15loipe/TekenLoipe.java
new file mode 100644
index 0000000..05d58b6
--- /dev/null
+++ b/Week4/src/oo15loipe/TekenLoipe.java
@@ -0,0 +1,15 @@
+/*
+ * 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
+ */
+public interface TekenLoipe {
+ public void setLoipe(InfoLoipe s) ; // gee f nieuwe l oi p e aan teken ob ject
+ public void teken() ; // teken de gegeven l oi p e
+}