From 1c5ca0b43477e65876daea88e6dde80b18268e3a Mon Sep 17 00:00:00 2001 From: KEZEL BENOIT p1907091 Date: Wed, 1 Apr 2020 16:55:24 +0200 Subject: [PATCH] Creation of Society class --- src/input/Society.java | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/input/Society.java diff --git a/src/input/Society.java b/src/input/Society.java new file mode 100644 index 0000000..3c5c291 --- /dev/null +++ b/src/input/Society.java @@ -0,0 +1,20 @@ +package input; + +public class Society implements Input{ + + public String socialReason; + + public Society(String newSocialReason){ + this.socialReason = newSocialReason; + } + + @Override + public String toString(Presentation presentation, Order order) { + return ("Social Reason : " + socialReason); + } + + @Override + public boolean research(String search) { + return false; + } +}