Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Woman extends HumanEntity {
- private Boob leftBoob;
- private Boob rightBoob;
- public Woman() {
- this.leftBoob = new Boob(BoobSize.MAXIMUM);
- this.rightBoob = new Boob(BoobSize.NORMAL);
- }
- public void shakeBoobs() {
- // Do this code by yourself, man ...
- }
- }
- class Boob extends HumanEntityComponent implements Touchable {
- private BoobSize size;
- public Boob(BoobSize size) {
- if (this.size == BoobSize.TINY) {
- throw new TooLittleBoobsException("Sorry, too small ...");
- }
- }
- public InteractiveResponse touch(Entity referenceHuman) {
- if (referenceHuman.isFriendWith(this.getOwner())) {
- return WomanReaction.MAKE_LOVE;
- } else {
- return WomanReaction.FACE_BASH;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement