Creation of Society class
This commit is contained in:
parent
f5fc52c00a
commit
1c5ca0b434
1 changed files with 20 additions and 0 deletions
20
src/input/Society.java
Normal file
20
src/input/Society.java
Normal file
|
@ -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;
|
||||
}
|
||||
}
|
Reference in a new issue