From c4497d705ecf0d8442b58a97ad1f9c9247d61079 Mon Sep 17 00:00:00 2001
From: Edvard <edvardee@stud.ntnu.no>
Date: Wed, 21 Feb 2024 12:38:16 +0100
Subject: [PATCH] Class and interface relationships

---
 src/main/java/org/example/chaosgame/linalg/Complex.java         | 2 +-
 .../example/chaosgame/transformations/AffineTransform2D.java    | 2 +-
 .../org/example/chaosgame/transformations/JuliaTransform.java   | 2 +-
 .../java/org/example/chaosgame/transformations/Transform2D.java | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/example/chaosgame/linalg/Complex.java b/src/main/java/org/example/chaosgame/linalg/Complex.java
index afe5524..d841c27 100644
--- a/src/main/java/org/example/chaosgame/linalg/Complex.java
+++ b/src/main/java/org/example/chaosgame/linalg/Complex.java
@@ -1,4 +1,4 @@
 package org.example.chaosgame.linalg;
 
-public class Complex {
+public class Complex extends Vector2D {
 }
diff --git a/src/main/java/org/example/chaosgame/transformations/AffineTransform2D.java b/src/main/java/org/example/chaosgame/transformations/AffineTransform2D.java
index 362e911..19a91ca 100644
--- a/src/main/java/org/example/chaosgame/transformations/AffineTransform2D.java
+++ b/src/main/java/org/example/chaosgame/transformations/AffineTransform2D.java
@@ -1,4 +1,4 @@
 package org.example.chaosgame.transformations;
 
-public class AffineTransform2D {
+public class AffineTransform2D implements Transform2D{
 }
diff --git a/src/main/java/org/example/chaosgame/transformations/JuliaTransform.java b/src/main/java/org/example/chaosgame/transformations/JuliaTransform.java
index 035ea11..3a2be60 100644
--- a/src/main/java/org/example/chaosgame/transformations/JuliaTransform.java
+++ b/src/main/java/org/example/chaosgame/transformations/JuliaTransform.java
@@ -1,4 +1,4 @@
 package org.example.chaosgame.transformations;
 
-public class JuliaTransform {
+public class JuliaTransform implements Transform2D{
 }
diff --git a/src/main/java/org/example/chaosgame/transformations/Transform2D.java b/src/main/java/org/example/chaosgame/transformations/Transform2D.java
index a94afee..ba92e3e 100644
--- a/src/main/java/org/example/chaosgame/transformations/Transform2D.java
+++ b/src/main/java/org/example/chaosgame/transformations/Transform2D.java
@@ -1,4 +1,4 @@
 package org.example.chaosgame.transformations;
 
-public class Transform2D {
+public interface Transform2D{
 }
-- 
GitLab