diff --git a/src/main/java/app/model/Agent.java b/src/main/java/app/model/Agent.java new file mode 100644 index 00000000..151792af --- /dev/null +++ b/src/main/java/app/model/Agent.java @@ -0,0 +1,16 @@ +package app.model; + +import app.controller.Ray; +import app.controller.Vector; +import java.util.ArrayList; + +public interface Agent extends Placeable +{ + void move(); + + Vector getDirection(); + + ArrayList getView(); + + double getHearing(); +} diff --git a/src/main/java/app/model/Placeable.java b/src/main/java/app/model/Placeable.java new file mode 100644 index 00000000..5646ddac --- /dev/null +++ b/src/main/java/app/model/Placeable.java @@ -0,0 +1,13 @@ +package app.model; + +import app.controller.Vector; +import javafx.scene.paint.Color; + +public interface Placeable +{ + Vector getPosition(); + + Color getColor(); + + boolean isHit(); +}