aboutsummaryrefslogtreecommitdiff
path: root/Week8/src/qtrees/BlackLeaf.java
diff options
context:
space:
mode:
Diffstat (limited to 'Week8/src/qtrees/BlackLeaf.java')
-rw-r--r--Week8/src/qtrees/BlackLeaf.java19
1 files changed, 4 insertions, 15 deletions
diff --git a/Week8/src/qtrees/BlackLeaf.java b/Week8/src/qtrees/BlackLeaf.java
index ec48997..0f7e71e 100644
--- a/Week8/src/qtrees/BlackLeaf.java
+++ b/Week8/src/qtrees/BlackLeaf.java
@@ -1,24 +1,13 @@
package qtrees;
-import java.io.IOException;
-import java.io.Writer;
-
/**
* @author Camil Staps, s4498062
*/
public class BlackLeaf extends QTNode {
-
- @Override
- public void fillBitmap(int x, int y, int width, Bitmap bitmap) {
- int old_x = x, old_y = y;
- for (; x < old_x + width; x++)
- for (; y < old_y + width; y++)
- bitmap.setBit(x, y, false);
- }
-
- @Override
- public void writeNode(Writer out) throws IOException {
- out.write("00");
+
+ public BlackLeaf () {
+ boolean_value = false;
+ string_value = "0";
}
}