Created
April 7, 2016 03:46
-
-
Save cosbor11/ed93804cd9b61fa442321986e08d2068 to your computer and use it in GitHub Desktop.
A set of constants that outline the effects of a beverage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public enum Beverage | |
| { | |
| BEER("Im feeling dangerous", "Lets makeout on a plane and annoy the people around me!", "Hold my hair back"), | |
| WATER("Soooo thirsty", "Satisfied", "I gotta pee"), | |
| COFFEE("Very Sleepy", "Bouncing off the walls", "Zzzzzzzzzz"); | |
| protected String preConsumption; | |
| protected String duringConsumption; | |
| protected String afterConsumption; | |
| /** | |
| * Constructor for Beverage includes the descriptions of the effects of the beverage | |
| * @param preConsumption How you are feeling prior to consuming a beverage | |
| * @param duringConsumption How you feel during the consumption of a beverage | |
| * @param afterConsumption How you feel after consuming a beverage | |
| */ | |
| Beverage(String preConsumption, String duringConsumption, String afterConsumption) | |
| { | |
| this.preConsumption = preConsumption; | |
| this.duringConsumption = duringConsumption; | |
| this.afterConsumption = afterConsumption; | |
| } | |
| // Getters and setters | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment