Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. package org.human.meal.breakfeast;
  2.  
  3. import org.human.meal.frigde.Milk;
  4. import org.human.meal.utils.Bowl;
  5. import org.human.meal.utils.Cereal;
  6. import org.human.meal.utils.Spoon;
  7.  
  8. public class Cereal extends Breakfeast {
  9.  
  10. public static void handleSteps(Human h, int realnames) {
  11. switch(realnames) {
  12. case Bowl:
  13. h.getBowl().setBowl().onTable;
  14. break;
  15. case Cereal:
  16. h.getCereal().pourCereal().inBowl;
  17. break;
  18. case Milk:
  19. h.getMilk().pourMilk().inBowl;
  20. break;
  21. case Spoon:
  22. h.getSpoon().putSpoon().inCereal;
  23. break;
  24. }
  25. }
  26.  
  27. public static void handleMake(Human h, int milk, int bowl, int cereal, int spoon, boolean eatsCereal, boolean isFull) {
  28. if(h.getBowl().setOnTable() && h.getCereal().pourInBowl() && h.getMilk().pourInBowl() && h.getSpoon().putInBowl()) {
  29. h.eatsCereal == true;
  30. return;
  31. }
  32. h.isFull = true;
  33. h.isSmiling = true;
  34. h.jizzInPants;
  35. }
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement