From 30e28253b9fccc785e990ed2f915102a5245eeab Mon Sep 17 00:00:00 2001 From: cyril-colin Date: Mon, 14 Oct 2019 08:44:45 +0200 Subject: [PATCH] add ElevatorListener interface --- src/commandSystem/ElevatorListener.java | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/commandSystem/ElevatorListener.java diff --git a/src/commandSystem/ElevatorListener.java b/src/commandSystem/ElevatorListener.java new file mode 100644 index 0000000..9af97ea --- /dev/null +++ b/src/commandSystem/ElevatorListener.java @@ -0,0 +1,8 @@ +package commandSystem; + + +public interface ElevatorListener { + public void elevatorCall(int floor); + public void floorCall(int floor, Direction direction); + public void floorChange(Direction direction); +}