Advertisement
morphesus

JAVA BOOBS !!! :O

Dec 12th, 2014
336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.71 KB | None | 0 0
  1. class Woman extends HumanEntity {
  2.     private Boob leftBoob;
  3.     private Boob rightBoob;
  4.  
  5.     public Woman() {
  6.         this.leftBoob = new Boob(BoobSize.MAXIMUM);
  7.         this.rightBoob = new Boob(BoobSize.NORMAL);
  8.     }
  9.  
  10.     public void shakeBoobs() {
  11.         // Do this code by yourself, man ...
  12.     }
  13. }
  14.  
  15. class Boob extends HumanEntityComponent implements Touchable {
  16.     private BoobSize size;
  17.  
  18.     public Boob(BoobSize size) {
  19.         if (this.size == BoobSize.TINY) {
  20.             throw new TooLittleBoobsException("Sorry, too small ...");
  21.         }
  22.     }
  23.  
  24.     public InteractiveResponse touch(Entity referenceHuman) {
  25.         if (referenceHuman.isFriendWith(this.getOwner())) {
  26.             return WomanReaction.MAKE_LOVE;
  27.         } else {
  28.             return WomanReaction.FACE_BASH;
  29.         }
  30.     }
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement